diff --git a/bin/console b/bin/console index fc96f20a29..b47b654126 100755 --- a/bin/console +++ b/bin/console @@ -28,6 +28,8 @@ use Alchemy\Phrasea\CLI; use Alchemy\Phrasea\Command\Plugin\AddPlugin; use Alchemy\Phrasea\Command\Plugin\RemovePlugin; use Alchemy\Phrasea\Command\CheckConfig; +use Alchemy\Phrasea\Command\Setup\XSendFileMappingNginxDumper; +use Alchemy\Phrasea\Command\Setup\XSendFileMappingApacheDumper; require_once __DIR__ . '/../lib/autoload.php'; @@ -96,6 +98,8 @@ try { $app->command(new AddPlugin()); $app->command(new RemovePlugin()); $app->command(new Configuration()); + $app->command(new XSendFileMappingNginxDumper()); + $app->command(new XSendFileMappingApacheDumper()); $result_code = is_int($app->run()) ? : 1; } catch (\Exception $e) { diff --git a/bin/setup b/bin/setup index a96f724d73..8ed77ab5b8 100755 --- a/bin/setup +++ b/bin/setup @@ -21,8 +21,6 @@ use Alchemy\Phrasea\Command\UpgradeDBDatas; use Alchemy\Phrasea\Command\Setup\Install; use Alchemy\Phrasea\Command\Setup\LessCompiler; use Alchemy\Phrasea\Command\Setup\JavascriptBuilder; -use Alchemy\Phrasea\Command\Setup\XSendFileMappingNginxDumper; -use Alchemy\Phrasea\Command\Setup\XSendFileMappingApacheDumper; use Alchemy\Phrasea\CLI; use Alchemy\Phrasea\Command\Setup\CheckEnvironment; @@ -68,8 +66,6 @@ try { $app->command(new Install('system:install')); $app->command(new LessCompiler()); $app->command(new JavascriptBuilder()); - $app->command(new XSendFileMappingNginxDumper()); - $app->command(new XSendFileMappingApacheDumper()); $result_code = is_int($app->run()) ? : 1; } catch (\Exception $e) {