From ed4d32581d1df93e538468a98da109f65a4d1f13 Mon Sep 17 00:00:00 2001 From: Simon Welsh Date: Tue, 4 Feb 2014 12:26:28 +1300 Subject: [PATCH] $manifest needs to be global for Deprecation. --- core/Core.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Core.php b/core/Core.php index 5347439b3..1a67e40f5 100644 --- a/core/Core.php +++ b/core/Core.php @@ -91,6 +91,7 @@ Injector::inst($default_options); $flush = (isset($_GET['flush']) || isset($_REQUEST['url']) && ( $_REQUEST['url'] == 'dev/build' || $_REQUEST['url'] == BASE_URL . '/dev/build' )); +global $manifest; $manifest = new SS_ClassManifest(BASE_PATH, false, $flush); // Register SilverStripe's class map autoload