/** * Check whether $url is equivalent to the currently active address * * @var mixed $url * * @deprecated Move to SLRouter */ public static function isHere($url) { if (empty(self::$_here)) { self::$_here = r(' ', '+', urldecode(env('REQUEST_URI'))); } return self::$_here == r(' ', '+', self::url($url)); }