mirror of
https://github.com/friendica/friendica
synced 2025-01-09 20:04:44 +00:00
Move call of register the template engine into App
This commit is contained in:
parent
ffbc7d0ea1
commit
e9b92aea7b
2 changed files with 2 additions and 2 deletions
|
@ -200,6 +200,8 @@ class App
|
||||||
|
|
||||||
$this->registerErrorHandler();
|
$this->registerErrorHandler();
|
||||||
|
|
||||||
|
Core\Renderer::registerTemplateEngine('Friendica\Render\FriendicaSmartyEngine');
|
||||||
|
|
||||||
(new \Friendica\Core\Console($this->container, $argv))->execute();
|
(new \Friendica\Core\Console($this->container, $argv))->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -166,8 +166,6 @@ HELP;
|
||||||
|
|
||||||
$className = $this->subConsoles[$command];
|
$className = $this->subConsoles[$command];
|
||||||
|
|
||||||
Renderer::registerTemplateEngine('Friendica\Render\FriendicaSmartyEngine');
|
|
||||||
|
|
||||||
/** @var Console $subconsole */
|
/** @var Console $subconsole */
|
||||||
$subconsole = $this->dice->create($className, [$subargs]);
|
$subconsole = $this->dice->create($className, [$subargs]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue