Config

Functions:

cfg_set($var, $value)

Sets a config variable, usable throught the whole framework. It uses the same syntax as PHP's ini_set().

cfg_get($var, $default=null)

Gets a previously set config variable. If the variable hasn't been set it returns $default if present, and null otherwise.

cfg_isset($var)

Returns true if a config variable has been set, false otherwise.