1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-23 21:33:01 +02:00

feat(core): initialize plugins before themes initialised #323

This commit is contained in:
Awilum
2019-12-10 19:31:42 +03:00
parent ec5406ea15
commit 2ac7b57262

View File

@@ -163,16 +163,16 @@ foreach (Filesystem::listContents(ROOT_DIR . '/flextype/shortcodes') as $shortco
include_once $shortcode['path'];
}
/**
* Init themes
*/
$flextype['themes']->init($flextype, $app);
/**
* Init plugins
*/
$flextype['plugins']->init($flextype, $app);
/**
* Init themes
*/
$flextype['themes']->init($flextype, $app);
/**
* Run application
*/