Created
October 9, 2012 10:10
-
-
Save robertbasic/3857775 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| These configuration directives can go to the ``config/autoload/{,*.}{global,local}.php`` files, or in the | |
| ``module/<module name>/config/module.config.php`` configuration files. The merging of these configuration | |
| files is done by the ``ModuleManager``. It first merges each module's ``module.config.php`` file, and then | |
| the files in ``config/autoload`` (first the ``*.global.php`` and then the ``*.local.php`` files). The order | |
| of the merge is relevant so you can override a module's configuration with your application configuration. | |
| If you have both a ``config/autoload/my.global.config.php`` and ``config/autoload/my.local.config.php``, the | |
| local configuration file overrides the global configuration. | |
| .. warning:: | |
| Local configuration files are intended to keep sensitive information, such as database credentials, and as | |
| such, it is highly recommended to keep these local configuration files out of your VCS. The | |
| ``ZendSkeletonApplication``\s ``config/autoload/.gitignore`` file ignores ``*.local.php`` files by default. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment