From b22f2f746bc3b38fa46e6d1ca68116baacc119e6 Mon Sep 17 00:00:00 2001 From: zimakm Date: Wed, 18 Aug 2010 03:27:08 -0700 Subject: [PATCH] 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 --- cake/libs/configure.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cake/libs/configure.php b/cake/libs/configure.php index fc2f4eeda..79dff7bd0 100644 --- a/cake/libs/configure.php +++ b/cake/libs/configure.php @@ -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]})) {