Finish 4.15.9

This commit is contained in:
4Giedrius committed 2015-03-23 15:39:17 +02:00
commit e22fa1a70e
1 file changed
+3 -3
+3 -3
View File
@@ -151,15 +151,15 @@ class Client implements InjectionAwareInterface
}
if(!isset($_SERVER['PHP_AUTH_USER'])) {
throw new Box_Exception('Authentication Failed', null, 201);
throw new \Box_Exception('Authentication Failed', null, 201);
}
if(!isset($_SERVER['PHP_AUTH_PW'])) {
throw new Box_Exception('Authentication Failed', null, 202);
throw new \Box_Exception('Authentication Failed', null, 202);
}
if(empty($_SERVER['PHP_AUTH_PW'])) {
throw new Box_Exception('Authentication Failed', null, 206);
throw new \Box_Exception('Authentication Failed', null, 206);
}
return array($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']);