Move call of register the template engine into App

This commit is contained in:
Art4 2024-12-26 08:24:19 +00:00
parent ffbc7d0ea1
commit e9b92aea7b
2 changed files with 2 additions and 2 deletions

View file

@ -200,6 +200,8 @@ class App
$this->registerErrorHandler();
Core\Renderer::registerTemplateEngine('Friendica\Render\FriendicaSmartyEngine');
(new \Friendica\Core\Console($this->container, $argv))->execute();
}

View file

@ -166,8 +166,6 @@ HELP;
$className = $this->subConsoles[$command];
Renderer::registerTemplateEngine('Friendica\Render\FriendicaSmartyEngine');
/** @var Console $subconsole */
$subconsole = $this->dice->create($className, [$subargs]);