diff options
-rw-r--r-- | inc/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php index 20f0407c0..25c0f87f9 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -62,7 +62,7 @@ if (!$conf['rememberme']) $_REQUEST['r'] = false; // streamline HTTP auth credentials (IIS/rewrite -> mod_php) - isset($_SERVER['HTTP_AUTHORIZATION']){ + if(isset($_SERVER['HTTP_AUTHORIZATION'])){ list($_SERVER['PHP_AUTH_USER'],$_SERVER['PHP_AUTH_PW']) = explode(':', base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6))); } |