The config file is accessed through the $config
object. From the
end user scripts, the config object is in the $_bitowl['config']
variable. End website script are discouraged from modifying settings.
From the control panel the values are stored in
$config->setting
. To change the configuration all that needs to be
done is to change the value in that array and call the save()
function.
BitOwl_Config::__construct($file)
Opens the configuration in the specified file. The file should be PHP code which sets the values in the the $_bitowl array.
bool BitOwl_Config::isInstalled()
Returns if the config file has previously existed.
void BitOwl_Config::save()
Writes the configuration to the file specified in the constructor.