aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider/apache.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2013-07-14 13:30:52 -0400
committerNils Adermann <naderman@naderman.de>2013-07-14 13:30:52 -0400
commitda2752e4004b296ae5acdd08b7c0a758d8f61e9d (patch)
treed29e821186f365c55120d8cba89014f30c73da19 /phpBB/phpbb/auth/provider/apache.php
parentb81613e5e57fd208e832637b6886abf9ec806c4b (diff)
downloadforums-da2752e4004b296ae5acdd08b7c0a758d8f61e9d.tar
forums-da2752e4004b296ae5acdd08b7c0a758d8f61e9d.tar.gz
forums-da2752e4004b296ae5acdd08b7c0a758d8f61e9d.tar.bz2
forums-da2752e4004b296ae5acdd08b7c0a758d8f61e9d.tar.xz
forums-da2752e4004b296ae5acdd08b7c0a758d8f61e9d.zip
[ticket/11700] Modify all code to use the new interface names
PHPBB3-11700
Diffstat (limited to 'phpBB/phpbb/auth/provider/apache.php')
-rw-r--r--phpBB/phpbb/auth/provider/apache.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/auth/provider/apache.php b/phpBB/phpbb/auth/provider/apache.php
index 2e80436f78..a7148c634a 100644
--- a/phpBB/phpbb/auth/provider/apache.php
+++ b/phpBB/phpbb/auth/provider/apache.php
@@ -47,7 +47,7 @@ class phpbb_auth_provider_apache extends phpbb_auth_provider_base
*/
public function init()
{
- if (!$this->request->is_set('PHP_AUTH_USER', phpbb_request_interface::SERVER) || $this->user->data['username'] !== htmlspecialchars_decode($this->request->server('PHP_AUTH_USER')))
+ if (!$this->request->is_set('PHP_AUTH_USER', phpbb_request_request_interface::SERVER) || $this->user->data['username'] !== htmlspecialchars_decode($this->request->server('PHP_AUTH_USER')))
{
return $this->user->lang['APACHE_SETUP_BEFORE_USE'];
}
@@ -78,7 +78,7 @@ class phpbb_auth_provider_apache extends phpbb_auth_provider_base
);
}
- if (!$this->request->is_set('PHP_AUTH_USER', phpbb_request_interface::SERVER))
+ if (!$this->request->is_set('PHP_AUTH_USER', phpbb_request_request_interface::SERVER))
{
return array(
'status' => LOGIN_ERROR_EXTERNAL_AUTH,
@@ -149,7 +149,7 @@ class phpbb_auth_provider_apache extends phpbb_auth_provider_base
*/
public function autologin()
{
- if (!$this->request->is_set('PHP_AUTH_USER', phpbb_request_interface::SERVER))
+ if (!$this->request->is_set('PHP_AUTH_USER', phpbb_request_request_interface::SERVER))
{
return array();
}
@@ -241,7 +241,7 @@ class phpbb_auth_provider_apache extends phpbb_auth_provider_base
public function validate_session($user)
{
// Check if PHP_AUTH_USER is set and handle this case
- if ($this->request->is_set('PHP_AUTH_USER', phpbb_request_interface::SERVER))
+ if ($this->request->is_set('PHP_AUTH_USER', phpbb_request_request_interface::SERVER))
{
$php_auth_user = $this->request->server('PHP_AUTH_USER');