]> git.mxchange.org Git - friendica.git/commitdiff
move up registerTemplateEngine call
authorArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 08:29:11 +0000 (08:29 +0000)
committerArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 08:29:11 +0000 (08:29 +0000)
src/App.php

index 2c4eacc30093ff111af512986a5110fbffb68c8d..90d90869fd8ff69ec0641d32f0ae93a3570eb935 100644 (file)
@@ -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();
        }
 
        /**