summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2009-07-11 20:23:30 +0200
committerDerek Jones <derek.jones@ellislab.com>2009-07-11 20:23:30 +0200
commitf6b442bba6666f3265680223e1ef9df08b94eb08 (patch)
tree8297a8f4fb772e6a2b22a5262608ac3bd7e96cec /system/libraries
parent817163a1bcff02285f763bcf72ff02e86f218cf8 (diff)
add 404 headers to show_404() proper instead of in the error_404.php template
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Exceptions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Exceptions.php b/system/libraries/Exceptions.php
index 1f99d01c3..9c655a174 100644
--- a/system/libraries/Exceptions.php
+++ b/system/libraries/Exceptions.php
@@ -94,7 +94,7 @@ class CI_Exceptions {
$message = "The page you requested was not found.";
log_message('error', '404 Page Not Found --> '.$page);
- echo $this->show_error($heading, $message, 'error_404');
+ echo $this->show_error($heading, $message, 'error_404', 404);
exit;
}