Improve class docs of Pico::loadConfig()

This commit is contained in:
Daniel Rudolf 2016-03-06 21:00:00 +01:00
parent 988a23fd02
commit dc621b24cd

View file

@ -509,12 +509,12 @@ class Pico
* Loads the config.php and any *.config.php from Pico::$configDir
*
* After loading the {@path "config/config.php"}, Pico proceeds with any
* existing {@path "config/*.config.php"} in alphabetical order. The file
* order is crucial: Config values which has been set already, cannot be
* overwritten by a succeeding file. This is also true for arrays,
* i.e. when specifying `$config['test'] = array('foo' => 'bar')` in
* `config/a.config.php` and `$config['test'] = array('baz' => 42)` in
* `config/b.config.php`, `$config['test']['baz']` will be undefined!
* existing `config/*.config.php` in alphabetical order. The file order is
* crucial: Config values which has been set already, cannot be overwritten
* by a succeeding file. This is also true for arrays, i.e. when specifying
* `$config['test'] = array('foo' => 'bar')` in `config/a.config.php` and
* `$config['test'] = array('baz' => 42)` in `config/b.config.php`,
* `$config['test']['baz']` will be undefined!
*
* @see Pico::setConfig()
* @see Pico::getConfig()