PEAR_Config::mergeConfigFile

PEAR_Config::mergeConfigFile()

PEAR_Config::mergeConfigFile() -- Merges data into a config layer from a file

Description

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.

Parameter

string $file

file to read from

boolean $override

whether to overwrite existing data

string $layer

config layer to insert data into ('user' or 'system')

Return value

bool - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.