[HttpFoundation] fixed getScheme() method
This commit is contained in:
parent
eca195c8fe
commit
d993a9160a
@ -408,7 +408,7 @@ class Request
|
||||
|
||||
public function getScheme()
|
||||
{
|
||||
return ($this->server->get('HTTPS') == 'on') ? 'https' : 'http';
|
||||
return $this->isSecure() ? 'https' : 'http';
|
||||
}
|
||||
|
||||
public function getPort()
|
||||
|
Reference in New Issue
Block a user