Add to ErrorHTTPException support code 401.
This commit is contained in:
@ -15,6 +15,7 @@ class ErrorHTTPException extends GeneralException
|
|||||||
{
|
{
|
||||||
$this->http_headers = array(
|
$this->http_headers = array(
|
||||||
400 => 'HTTP/1.0 400 Bad Request',
|
400 => 'HTTP/1.0 400 Bad Request',
|
||||||
|
401 => 'HTTP/1.0 400 Access allowed only for registered users',
|
||||||
402 => 'HTTP/1.0 402 Payment Required',
|
402 => 'HTTP/1.0 402 Payment Required',
|
||||||
403 => 'HTTP/1.0 403 Forbidden',
|
403 => 'HTTP/1.0 403 Forbidden',
|
||||||
404 => 'HTTP/1.0 404 Not Found',
|
404 => 'HTTP/1.0 404 Not Found',
|
||||||
|
Reference in New Issue
Block a user