Oops, missed a few places where EXIT_SUCCESS was being used.
Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php
index 8f5271a..7f76977 100644
--- a/system/core/CodeIgniter.php
+++ b/system/core/CodeIgniter.php
@@ -188,7 +188,7 @@
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 1025703..25ecd49 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -696,7 +696,7 @@
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
{
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php
index 7d5ccff..d0fab3f 100644
--- a/system/helpers/url_helper.php
+++ b/system/helpers/url_helper.php
@@ -550,7 +550,7 @@
header('Location: '.$uri, TRUE, $code);
break;
}
- exit(EXIT_SUCCESS);
+ exit;
}
}
diff --git a/system/libraries/Trackback.php b/system/libraries/Trackback.php
index ea8017e..ecc7129 100644
--- a/system/libraries/Trackback.php
+++ b/system/libraries/Trackback.php
@@ -212,7 +212,7 @@
public function send_error($message = 'Incomplete Information')
{
echo '<?xml version="1.0" encoding="utf-8"?'.">\n<response>\n<error>1</error>\n<message>".$message."</message>\n</response>";
- exit(EXIT_SUCCESS);
+ exit;
}
// --------------------------------------------------------------------
@@ -228,7 +228,7 @@
public function send_success()
{
echo '<?xml version="1.0" encoding="utf-8"?'.">\n<response>\n<error>0</error>\n</response>";
- exit(EXIT_SUCCESS);
+ exit;
}
// --------------------------------------------------------------------