summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-01-14 18:52:44 +0100
committerAndreas Gohr <andi@splitbrain.org>2009-01-14 18:52:44 +0100
commit06156f3c3fcb1f3c6066bd8327dd1f847667c366 (patch)
tree02e3ec7b9b556f48f30d9ff74db32a4b7ee5883c /inc/auth.php
parent3b1dfc83d86d79d7fc97a6aab242b70b1f38deb0 (diff)
downloadrpg-06156f3c3fcb1f3c6066bd8327dd1f847667c366.tar.gz
rpg-06156f3c3fcb1f3c6066bd8327dd1f847667c366.tar.bz2
fixed corrupt if statement introduced by earlier patch
darcs-hash:20090114175244-7ad00-22fe37641598c13f13266bf0b50c3b93fe912344.gz
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php2
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)));
}