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