diff --git a/application/classes/HTTP/Exception/404.php b/application/classes/HTTP/Exception/404.php index 7bdd5fa..0f976f2 100644 --- a/application/classes/HTTP/Exception/404.php +++ b/application/classes/HTTP/Exception/404.php @@ -46,7 +46,7 @@ class HTTP_Exception_404 extends Kohana_HTTP_Exception_404 { // Process our redirection options if (preg_match('/^http[s]?:\/\//',$ro->redirect)) { - $response->status(302); + $response->status($ro->http_status ? $ro->http_status : 302); $response->headers('Location',$ro->redirect); } elseif (preg_match('/^file:\/\/(.*)$/',$ro->redirect,$matches) AND file_exists($matches[1])) {