From 45eb571c158212e54d3b757f3abe54abf49fe527 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 14 Jan 2012 19:10:09 +1300 Subject: [PATCH] Probably a smidgin more efficient this way around. --- inc/HTTPAuthSession.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/HTTPAuthSession.php b/inc/HTTPAuthSession.php index d4c19efd..3a3a55cd 100644 --- a/inc/HTTPAuthSession.php +++ b/inc/HTTPAuthSession.php @@ -53,7 +53,7 @@ class HTTPAuthSession { if ( ! empty($_SERVER['PHP_AUTH_DIGEST'])) { $this->DigestAuthSession(); } - else if ( isset($_SERVER["AUTHORIZATION"]) || isset($_SERVER['PHP_AUTH_USER']) ) { + else if ( isset($_SERVER['PHP_AUTH_USER']) || isset($_SERVER["AUTHORIZATION"]) ) { $this->BasicAuthSession(); } else if ( isset($c->http_auth_mode) && $c->http_auth_mode == "Digest" ) {