Improve class docs of Pico::loadConfig()
This commit is contained in:
parent
988a23fd02
commit
dc621b24cd
12
lib/Pico.php
12
lib/Pico.php
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user