summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--user_guide/changelog.html1
-rw-r--r--user_guide/libraries/config.html3
2 files changed, 3 insertions, 1 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 159f1a645..648c9221b 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -68,6 +68,7 @@ Hg Tag: n/a</p>
<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>
+ <li class="reactor">Added support for <a href="libraries/config.html#environments">environment-specific</a> configuration files.</li>
</ul>
</li>
<li>Libraries
diff --git a/user_guide/libraries/config.html b/user_guide/libraries/config.html
index 98b6052a9..66b8426d9 100644
--- a/user_guide/libraries/config.html
+++ b/user_guide/libraries/config.html
@@ -150,6 +150,7 @@ $site_name = $blog_config['site_name'];</code>
<p>Where <var>item_name</var> is the $config array index you want to change, and <var>item_value</var> is its value.</p>
+<a name="environments"></a>
<h2>Environments</h2>
<p>You can set the environment of you application and load config items depending on the current environment. It also disables PHP from displaying errors in environments other than development. To set your environment, open <strong>index.php</strong>, located at the root and change the <var>ENVIRONMENT</var> constant. By default, there is support for a development, test and production environment.</p>
@@ -195,4 +196,4 @@ Next Topic:&nbsp;&nbsp;<a href="../database/index.html">Database Class</a>
</div>
</body>
-</html> \ No newline at end of file
+</html>