Added Cache class and made adjustments to Config to default the variables to false.
This commit is contained in:
parent
df5a2e2aaa
commit
237cb22990
4 changed files with 431 additions and 7 deletions
|
@ -183,10 +183,13 @@ class Config extends Object
|
|||
$this->data['pickles']['profiler'] = false;
|
||||
}
|
||||
|
||||
// Defaults logging to false if it doesn't exist
|
||||
if (!isset($this->data['pickles']['logging']))
|
||||
// Defaults expected PICKLES options to false
|
||||
foreach (array('cache', 'logging') as $variable)
|
||||
{
|
||||
$this->data['pickles']['logging'] = false;
|
||||
if (!isset($this->data['pickles'][$variable]))
|
||||
{
|
||||
$this->data['pickles'][$variable] = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Creates constants for the security levels
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue