Rewrite of the authentication and authorization system
This commit is contained in:
@@ -125,7 +125,7 @@ class Url extends Base
|
||||
return 'http://localhost/';
|
||||
}
|
||||
|
||||
$url = Request::isHTTPS() ? 'https://' : 'http://';
|
||||
$url = $this->request->isHTTPS() ? 'https://' : 'http://';
|
||||
$url .= $_SERVER['SERVER_NAME'];
|
||||
$url .= $_SERVER['SERVER_PORT'] == 80 || $_SERVER['SERVER_PORT'] == 443 ? '' : ':'.$_SERVER['SERVER_PORT'];
|
||||
$url .= $this->dir() ?: '/';
|
||||
|
||||
Reference in New Issue
Block a user