move up registerTemplateEngine call

This commit is contained in:
Art4 2024-12-26 08:29:11 +00:00
parent a6385bed71
commit ba6bde9b09

View file

@ -155,6 +155,8 @@ class App
$this->container->create(ViewDefinition::class), $this->container->create(ViewDefinition::class),
); );
$this->registerTemplateEngine();
$this->mode->setExecutor(Mode::INDEX); $this->mode->setExecutor(Mode::INDEX);
$this->runFrontend( $this->runFrontend(
@ -270,8 +272,6 @@ class App
} }
$this->loadDefaultTimezone(); $this->loadDefaultTimezone();
$this->registerTemplateEngine();
} }
/** /**