From c7a9f3412f290e5fdca76b702f67b194cde1dffc Mon Sep 17 00:00:00 2001 From: mark_story Date: Tue, 13 Mar 2012 22:06:44 -0400 Subject: [PATCH] Add compatibility for 2.1. Set always needs to be loaded, as that's how 2.1 worked. --- lib/Cake/bootstrap.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Cake/bootstrap.php b/lib/Cake/bootstrap.php index 443653f9d..08cb5d2ea 100644 --- a/lib/Cake/bootstrap.php +++ b/lib/Cake/bootstrap.php @@ -141,6 +141,11 @@ App::$bootstrapping = true; Configure::bootstrap(isset($boot) ? $boot : true); +/** + * Compatibility with 2.1, which expects Set to always be autoloaded. + */ +App::uses('Set', 'Utilty'); + /** * Full url prefix */