Fixing wrong header message text for ErrorHandler::error500() header sent. Refs #70.""

This commit is contained in:
Joël Perras 2009-12-14 16:21:05 -05:00
parent 65724453ef
commit 86cba7dc50

View file

@ -178,7 +178,7 @@ class ErrorHandler extends Object {
$url = $this->controller->here; $url = $this->controller->here;
} }
$url = Router::normalize($url); $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( $this->controller->set(array(
'code' => '500', 'code' => '500',
'name' => __('An Internal Error Has Occurred', true), 'name' => __('An Internal Error Has Occurred', true),