PEAR_Config::isDefinedLayer | PEAR_Config::noRegistry |
PEAR_Config | |
PEAR Manual | |
require_once 'PEAR/config.php'; |
bool PEAR_Config::mergeConfigFile (
string $file
, bool $override = TRUE
, string $layer = 'user'
)
Merges data into a config layer from a file. Does the same thing as readConfigFile(), except it does not replace all existing values in the config layer.
file to read from
whether to overwrite existing data
config layer to insert data into ('user' or 'system' )
bool - Returns TRUE on success, PEAR_Error on failure.
Error code | Error value | Meaning | Solution |
" |
This function can not be called statically.
PEAR_Config::isDefinedLayer | PEAR_Config::noRegistry |
PEAR_Config | |
PEAR Manual | |