add 404 headers to show_404() proper instead of in the error_404.php template
diff --git a/system/libraries/Exceptions.php b/system/libraries/Exceptions.php
index 1f99d01..9c655a1 100644
--- a/system/libraries/Exceptions.php
+++ b/system/libraries/Exceptions.php
@@ -94,7 +94,7 @@
$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;
}