diff options
author | Igor Wiedler <igor@wiedler.ch> | 2011-08-18 22:21:50 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2011-08-18 22:26:30 +0200 |
commit | a48889fed83b007202e76ddf1ba5436eca310df0 (patch) | |
tree | 4036210bb9c7dfc3e029ae8ef6f1962b441be056 /tests/mock/request.php | |
parent | 24e9fb24d105b8e475dbaf66fd99be2839b86675 (diff) | |
download | forums-a48889fed83b007202e76ddf1ba5436eca310df0.tar forums-a48889fed83b007202e76ddf1ba5436eca310df0.tar.gz forums-a48889fed83b007202e76ddf1ba5436eca310df0.tar.bz2 forums-a48889fed83b007202e76ddf1ba5436eca310df0.tar.xz forums-a48889fed83b007202e76ddf1ba5436eca310df0.zip |
[feature/request-class] Add is_secure method to request for HTTPS
PHPBB3-9716
Diffstat (limited to 'tests/mock/request.php')
-rw-r--r-- | tests/mock/request.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/mock/request.php b/tests/mock/request.php index 86b8695e32..18aa2e724c 100644 --- a/tests/mock/request.php +++ b/tests/mock/request.php @@ -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]); |