Configure fix problem 3-dimensional arrays to be handled as 4+ arrays.

This saves a lot of execution time when configure holds many values.
Fixes #1028

Signed-off-by: mark_story <mark@mark-story.com>
This commit is contained in:
zimakm 2010-08-18 03:27:08 -07:00 committed by mark_story
parent fc9340213e
commit b22f2f746b

View file

@ -96,6 +96,7 @@ class Configure extends Object {
break;
case 3:
$_this->{$names[0]}[$names[1]][$names[2]] = $value;
break;
case 4:
$names = explode('.', $name, 2);
if (!isset($_this->{$names[0]})) {