summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorkatzgrau <devnull@localhost>2011-03-10 05:22:45 +0100
committerkatzgrau <devnull@localhost>2011-03-10 05:22:45 +0100
commitd1c21a47efdb9083d232f1f11bf3eeff8d308dd8 (patch)
tree936604e86cf4fa3e396c9a321621b3993e815f6f /user_guide
parent34357cf742dc90af7ac680a59246fa506b7573ec (diff)
Added changelog note for multi-environment support for configs
Diffstat (limited to 'user_guide')
-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>