diff --git a/inc/auth.php b/inc/auth.php index 20f0407c0faf4178e3b219c6438a8e920e7e6c56..25c0f87f9b6106479774d69c0b550fc110a7d6c3 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))); }