mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 05:41:52 +09:00
Finish 4.15.9
This commit is contained in:
commit
e22fa1a70e
1 file changed
+3
-3
@@ -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']);
|
||||
|
||||
Reference in new issue
Block a user