active menu
This commit is contained in:
1 parent
1f34860cfd
commit
68bf73e764
4 files changed
+37
-15
No files matched your search
@@ -72,6 +72,14 @@ class Request
|
||||
return $this->host;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return false|array|int|string|null
|
||||
*/
|
||||
public static function getUrlPath(): false|array|int|string|null
|
||||
{
|
||||
return parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Возвращает true если шифрование https, иначе false.
|
||||
|
||||
Reference in new issue
Block a user