From 2ac7b5726258b85e62a09361a1261180edaffcb3 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 10 Dec 2019 19:31:42 +0300 Subject: [PATCH] feat(core): initialize plugins before themes initialised #323 --- flextype/bootstrap.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/flextype/bootstrap.php b/flextype/bootstrap.php index 4c99fd17..7417c820 100755 --- a/flextype/bootstrap.php +++ b/flextype/bootstrap.php @@ -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 */