PEAR_DependencyDB::setConfig
PEAR_DependencyDB::setConfig() – Set up the registry/location of dependency DB
Synopsis
require_once '/DependencyDB.php';
void
PEAR_DependencyDB::setConfig
(
PEAR_Config|false
&$config
,
string|false
$depdb
= false
)
Description
This crucial method is used to set the PEAR_Config object that should be used to retrieve both configuration information and a PEAR_Registry class for internal manipulation.
Parameter
-
PEAR_Config|FALSE
&$config
-
string|FALSE
$depdb
-
full path to the dependency database, or FALSE to use default
Throws
throws no exceptions thrown
Note
This function can not be called statically.