$manifest needs to be global for Deprecation.

This commit is contained in:
Simon Welsh 2014-02-04 12:26:28 +13:00
parent dd801bdb0b
commit ed4d32581d

View File

@ -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