summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorDaniel Hunsaker <danhunsaker@gmail.com>2013-03-04 10:31:26 +0100
committerDaniel Hunsaker <danhunsaker@gmail.com>2013-03-04 10:31:26 +0100
commitb2ac67a3a766ac18f5041eff7a5cbeef7437a184 (patch)
tree9d4fe206b6d14ae5b2921e247282ea23a8836cac /system/core
parent50dfe0175df02fe4aa243757bdf1b42fb9fc3169 (diff)
Oops, missed a few places where EXIT_SUCCESS was being used.
Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
Diffstat (limited to 'system/core')
-rw-r--r--system/core/CodeIgniter.php2
-rw-r--r--system/core/Output.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php
index 8f5271add..7f76977b5 100644
--- a/system/core/CodeIgniter.php
+++ b/system/core/CodeIgniter.php
@@ -188,7 +188,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
if ($EXT->call_hook('cache_override') === FALSE
&& $OUT->_display_cache($CFG, $URI) === TRUE)
{
- exit(EXIT_SUCCESS);
+ exit;
}
/*
diff --git a/system/core/Output.php b/system/core/Output.php
index 1025703dc..25ecd496c 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -696,7 +696,7 @@ class CI_Output {
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && $last_modified <= strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']))
{
$this->set_status_header(304);
- exit(EXIT_SUCCESS);
+ exit;
}
else
{