From ba6bde9b09f411e33d010617ba9c455ef7f9f9c1 Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 26 Dec 2024 08:29:11 +0000 Subject: [PATCH] move up registerTemplateEngine call --- src/App.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } /**