mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-07 10:04:27 +00:00
Move xsendfile dumper from setup to console
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user