1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[feature/request-class] Add is_secure method to request for HTTPS

PHPBB3-9716
This commit is contained in:
Igor Wiedler
2011-08-18 22:21:50 +02:00
parent 24e9fb24d1
commit a48889fed8
4 changed files with 33 additions and 0 deletions

View File

@@ -57,6 +57,11 @@ class phpbb_mock_request implements phpbb_request_interface
return false;
}
public function is_secure()
{
return false;
}
public function variable_names($super_global = phpbb_request_interface::REQUEST)
{
return array_keys($this->data[$super_global]);