]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console.php
Merge pull request #10446 from MrPetovan/bug/10439-addon-settings-forms
[friendica.git] / src / Core / Console.php
index fe2c969f239366904b68c2d82478455d344c473c..d1374a1b8fab1b71ebe944b85783188e23194051 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -47,6 +47,7 @@ Commands:
        addon                  Addon management
        cache                  Manage node cache
        config                 Edit site config
        addon                  Addon management
        cache                  Manage node cache
        config                 Edit site config
+       contact                Contact management
        createdoxygen          Generate Doxygen headers
        dbstructure            Do database updates
        docbloxerrorchecker    Check the file tree for DocBlox errors
        createdoxygen          Generate Doxygen headers
        dbstructure            Do database updates
        docbloxerrorchecker    Check the file tree for DocBlox errors
@@ -78,6 +79,7 @@ HELP;
                'addon'                  => Friendica\Console\Addon::class,
                'cache'                  => Friendica\Console\Cache::class,
                'config'                 => Friendica\Console\Config::class,
                'addon'                  => Friendica\Console\Addon::class,
                'cache'                  => Friendica\Console\Cache::class,
                'config'                 => Friendica\Console\Config::class,
+               'contact'                => Friendica\Console\Contact::class,
                'createdoxygen'          => Friendica\Console\CreateDoxygen::class,
                'docbloxerrorchecker'    => Friendica\Console\DocBloxErrorChecker::class,
                'dbstructure'            => Friendica\Console\DatabaseStructure::class,
                'createdoxygen'          => Friendica\Console\CreateDoxygen::class,
                'docbloxerrorchecker'    => Friendica\Console\DocBloxErrorChecker::class,
                'dbstructure'            => Friendica\Console\DatabaseStructure::class,
@@ -170,6 +172,8 @@ HELP;
 
                Friendica\DI::init($this->dice);
 
 
                Friendica\DI::init($this->dice);
 
+               Renderer::registerTemplateEngine('Friendica\Render\FriendicaSmartyEngine');
+
                /** @var Console $subconsole */
                $subconsole = $this->dice->create($className, [$subargs]);
 
                /** @var Console $subconsole */
                $subconsole = $this->dice->create($className, [$subargs]);