yiisoft/yii — pull request #372 by ibeltsov (2012-02-18 23:08:54+00:00)
Title: Making config files a little bit extendable

This simple improvement allows to override app configuration without modifying original config file. Just create folder 'local' under protected/config and put custom configuration file in here, and it will override params defined in config file with the same name.

Common use case:
- protected/config/main.php contains common parameters and is controlled by VCS;
- protected/config/local/main.php contains developer's customized params (like local db connection settings, logging options etc.), and excluded from VCS.