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:
parent
7fba0d231d
commit
3a89586eb1
6 changed files with 66 additions and 26 deletions
|
@ -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']))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue