From d1c21a47efdb9083d232f1f11bf3eeff8d308dd8 Mon Sep 17 00:00:00 2001 From: katzgrau Date: Wed, 9 Mar 2011 23:22:45 -0500 Subject: Added changelog note for multi-environment support for configs --- user_guide/libraries/config.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'user_guide/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'];

Where item_name is the $config array index you want to change, and item_value is its value.

+

Environments

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 index.php, located at the root and change the ENVIRONMENT constant. By default, there is support for a development, test and production environment.

@@ -195,4 +196,4 @@ Next Topic:  Database Class - \ No newline at end of file + -- cgit v1.2.3-24-g4f1b