mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
NEW: Ability to override SS_TemplateManifest via Injector (fixes #7305)
This commit is contained in:
parent
921f615e19
commit
fdd501182e
@ -124,7 +124,7 @@ $configManifest = new SS_ConfigManifest(BASE_PATH, false, $flush);
|
||||
Config::inst()->pushConfigYamlManifest($configManifest);
|
||||
|
||||
// Load template manifest
|
||||
SS_TemplateLoader::instance()->pushManifest(new SS_TemplateManifest(
|
||||
SS_TemplateLoader::instance()->pushManifest(Injector::inst()->create('SS_TemplateManifest',
|
||||
BASE_PATH, project(), false, $flush
|
||||
));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user