Skip to content

Commit

Permalink
$manifest needs to be global for Deprecation.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwelsh committed Feb 3, 2014
1 parent dd801bd commit ed4d325
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/Core.php
Expand Up @@ -91,6 +91,7 @@
$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
Expand Down

0 comments on commit ed4d325

Please sign in to comment.