Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
zimakm authored and markstory committed Aug 19, 2010
1 parent fc93402 commit b22f2f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cake/libs/configure.php
Expand Up @@ -96,6 +96,7 @@ function write($config, $value = null) {
break;
case 3:
$_this->{$names[0]}[$names[1]][$names[2]] = $value;
break;
case 4:
$names = explode('.', $name, 2);
if (!isset($_this->{$names[0]})) {
Expand Down

0 comments on commit b22f2f7

Please sign in to comment.