Helping ordinary people create extraordinary websites!


PEAR_Config::getDefaultChannel()

PEAR_Config::getDefaultChannel() -- Retrieve the default channel.

Description

On startup, channels are not initialized, so if the default channel is not pear.php.net, then initialize the config.

Parameter

string $layer

layer from which to retrieve the registry, or null for the first to match

Throws

throws no exceptions thrown

Note

This function can not be called statically.