From e4b990ae89cbf74848ced8dd0152955c3fbafcdf Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Fri, 28 Jun 2013 12:43:54 +0200 Subject: [PATCH] Move xsendfile dumper from setup to console --- bin/console | 4 ++++ bin/setup | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) 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) {