PEAR_Config::writeConfigFile

PEAR_Config::writeConfigFile() – Write data into config layer from file

Synopsis

require_once 'PEAR/config.php';

bool PEAR_Config::writeConfigFile ( string $file = null , bool $layer = 'user' )

Описание

Writes data into a config layer from a file.

Parameter

string $file

file to read from

boolean $layer

whether to overwrite existing data

Return value

bool - Returns TRUE on success, PEAR_Error on failure.

Throws

Possible PEAR_Error values
Error code Error value Meaning Solution
  "    

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ