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
commit2f8b27efeb0a39c24eddf89cf31ea0fd113a6b71 (patch)
tree86307208e59113214c138067f35a50442d200851
parent71018b31bd3d2590e71f11a1d3918ce952be0b23 (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 567e67f65..b91ed3896 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 815590dc1..159f1a645 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -67,6 +67,7 @@ Hg Tag: n/a</p>
<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