mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
$manifest needs to be global for Deprecation.
This commit is contained in:
parent
dd801bdb0b
commit
ed4d32581d
@ -91,6 +91,7 @@ Injector::inst($default_options);
|
|||||||
$flush = (isset($_GET['flush']) || isset($_REQUEST['url']) && (
|
$flush = (isset($_GET['flush']) || isset($_REQUEST['url']) && (
|
||||||
$_REQUEST['url'] == 'dev/build' || $_REQUEST['url'] == BASE_URL . '/dev/build'
|
$_REQUEST['url'] == 'dev/build' || $_REQUEST['url'] == BASE_URL . '/dev/build'
|
||||||
));
|
));
|
||||||
|
global $manifest;
|
||||||
$manifest = new SS_ClassManifest(BASE_PATH, false, $flush);
|
$manifest = new SS_ClassManifest(BASE_PATH, false, $flush);
|
||||||
|
|
||||||
// Register SilverStripe's class map autoload
|
// Register SilverStripe's class map autoload
|
||||||
|
Loading…
Reference in New Issue
Block a user