mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixing wrong header message text for ErrorHandler::error500() header sent. Refs #70.""
This commit is contained in:
parent
65724453ef
commit
86cba7dc50
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class ErrorHandler extends Object {
|
|||
$url = $this->controller->here;
|
||||
}
|
||||
$url = Router::normalize($url);
|
||||
$this->controller->header("HTTP/1.0 500 Not Found");
|
||||
$this->controller->header("HTTP/1.0 500 Internal Server Error");
|
||||
$this->controller->set(array(
|
||||
'code' => '500',
|
||||
'name' => __('An Internal Error Has Occurred', true),
|
||||
|
|
Loading…
Add table
Reference in a new issue