summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/config.rst
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-01 10:51:27 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-01 10:51:27 +0200
commitf3b95d383806a9366de9a526a37d78287a09d8b6 (patch)
tree7d53e8612dca6e41c330829062a03e3d8520a1f7 /user_guide_src/source/libraries/config.rst
parent5e63ad76863209c21b5a794cb4d478f59f57e386 (diff)
parent2b8f25ebb352cb370a0f39c9a3efb3a2d8df2c06 (diff)
Merge pull request #1356 from thanpolas/new-config-load-sequence
New config load sequence
Diffstat (limited to 'user_guide_src/source/libraries/config.rst')
-rw-r--r--user_guide_src/source/libraries/config.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/user_guide_src/source/libraries/config.rst b/user_guide_src/source/libraries/config.rst
index c81cad7b3..08d9c2905 100644
--- a/user_guide_src/source/libraries/config.rst
+++ b/user_guide_src/source/libraries/config.rst
@@ -149,11 +149,13 @@ folders:
- Your own custom configuration files
.. note::
- CodeIgniter always tries to load the configuration files for
- the current environment first. If the file does not exist, the global
- config file (i.e., the one in application/config/) is loaded. This means
- you are not obligated to place **all** of your configuration files in an
- environment folder − only the files that change per environment.
+ CodeIgniter always loads the global config file first (i.e., the one in application/config/),
+ then tries to load the configuration files for the current environment.
+ This means you are not obligated to place **all** of your configuration files in an
+ environment folder. Only the files that change per environment. Additionally you don't
+ have to copy **all** the config items in the environment config file. Only the config items
+ that you wish to change for your environment. The config items declared in your environment
+ folders always overwrite those in your global config files.
Helper Functions
================