added support to change the configuration
This commit is contained in:
parent
f05bfcc433
commit
2fc39c8abd
1 changed files with 3 additions and 3 deletions
|
@ -45,10 +45,10 @@ class Configuration {
|
|||
$values =& self::$values;
|
||||
$tree = explode('.', $var);
|
||||
foreach ($tree as $part) {
|
||||
$values =& $values[$part]; // TODO use array_merge_recursive()
|
||||
$values =& $values[$part];
|
||||
}
|
||||
|
||||
$values = $value;
|
||||
$values = array_merge_recursive($values, $value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -144,4 +144,4 @@ EOT;
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue