summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-03-08 22:56:08 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-03-08 22:56:08 +0100
commitbabfb29332501d63a7be59d1dbed864d128ffdae (patch)
treea7c8b331e32c2524f111f7e20c643a8011b40bb0
parent154da11c5bb4b7dc5c225f4fa018852ee45cc6eb (diff)
Added the constant CI_CORE to help differentiate between Core: TRUE and Reactor: FALSE.
-rw-r--r--system/core/CodeIgniter.php7
-rw-r--r--user_guide/changelog.html1
2 files changed, 8 insertions, 0 deletions
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php
index 2d3f24958..1c06488f0 100644
--- a/system/core/CodeIgniter.php
+++ b/system/core/CodeIgniter.php
@@ -36,6 +36,13 @@
/*
* ------------------------------------------------------
+ * Define the CodeIgniter Branch (Core = TRUE, Reactor = FALSE)
+ * ------------------------------------------------------
+ */
+ define('CI_CORE', FALSE);
+
+/*
+ * ------------------------------------------------------
* Load the global functions
* ------------------------------------------------------
*/
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 9f0e22632..b113b0c34 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -65,6 +65,7 @@ Change Log
<li>General changes
<ul>
<li>Added <kbd>$config['cookie_secure']</kbd> to the config file to allow requiring a secure (HTTPS) in order to set cookies.</li>
+ <li class="reactor">Added the constant <kbd>CI_CORE</kbd> to help differentiate between Core: TRUE and Reactor: FALSE.</li>
</ul>
</li>
<li>Libraries