Added configuration variable to disable logging. Currently it is a boolean value, but eventually it will probably be broken out into an array with key/value pairs to correspond with the different logging options within the PICKLES core.

This commit is contained in:
Josh Sherman 2011-06-15 21:13:28 -04:00
parent 7fba0d231d
commit 3a89586eb1
6 changed files with 66 additions and 26 deletions

View file

@ -181,6 +181,12 @@ class Config extends Object
$this->data['pickles']['profiler'] = false;
}
// Defaults logging to false if it doesn't exist
if (!isset($this->data['pickles']['logging']))
{
$this->data['pickles']['logging'] = false;
}
// Creates constants for the security levels
if (isset($this->data['security']['levels']) && is_array($this->data['security']['levels']))
{