diff --git a/src/App.php b/src/App.php index 2c4eacc300..90d90869fd 100644 --- a/src/App.php +++ b/src/App.php @@ -155,6 +155,8 @@ class App $this->container->create(ViewDefinition::class), ); + $this->registerTemplateEngine(); + $this->mode->setExecutor(Mode::INDEX); $this->runFrontend( @@ -270,8 +272,6 @@ class App } $this->loadDefaultTimezone(); - - $this->registerTemplateEngine(); } /**