NEW: Ability to override SS_TemplateManifest via Injector (fixes #7305)

This commit is contained in:
Patrick Nelson 2017-08-23 17:34:07 -07:00
parent 921f615e19
commit fdd501182e

View File

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