Working With the Config File

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.