mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Merge branch '3.8'
Conflicts: bin/console lib/Alchemy/Phrasea/Controller/Api/V1.php lib/Alchemy/Phrasea/Controller/Prod/Edit.php lib/Alchemy/Phrasea/Core/Version.php lib/classes/API/V1/Interface.php lib/classes/API/V1/adapter.php lib/classes/Feed/XML/Abstract.php lib/classes/Feed/XML/Cooliris.php lib/classes/User/Adapter.php lib/classes/media/Permalink/Adapter.php lib/classes/media/abstract.php lib/classes/media/subdef.php lib/classes/p4file.php lib/classes/record/preview.php lib/conf.d/_GV_template.inc tests/Alchemy/Tests/Phrasea/Controller/Api/ApiTestCase.php tests/Alchemy/Tests/Phrasea/Core/Provider/FileServeServiceProviderTest.php tests/classes/media/Permalink/media_Permalink_AdapterTest.php
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
namespace Alchemy\Phrasea\Command\Setup;
|
||||
|
||||
use Alchemy\Phrasea\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Alchemy\Phrasea\Http\XSendFile\XSendFileFactory;
|
||||
@@ -25,7 +26,7 @@ class XSendFileMappingGenerator extends Command
|
||||
|
||||
$this->addOption('write', 'w', null, 'Writes the configuration')
|
||||
->addOption('enabled', 'e', null, 'Set the enable toggle to `true`')
|
||||
->addArgument('type', null, 'The configuration type, either `nginx` or `apache`')
|
||||
->addArgument('type', InputArgument::REQUIRED, 'The configuration type, either `nginx` or `apache`')
|
||||
->setDescription('Generates Phraseanet xsendfile mapping configuration depending on databoxes configuration');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user