Move xsendfile dumper from setup to console

This commit is contained in:
Romain Neutron
2013-06-28 12:43:54 +02:00
parent fb8d345940
commit e4b990ae89
2 changed files with 4 additions and 4 deletions

View File

@@ -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) {

View File

@@ -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) {