1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

[ticket/11150] Disable if directories not writable

PHPBB3-11150
This commit is contained in:
Tristan Darricau
2015-09-15 14:48:21 +02:00
committed by Tristan Darricau
parent 0a809fb90e
commit cc0a762866
11 changed files with 82 additions and 16 deletions

View File

@@ -72,6 +72,13 @@ class manage extends \phpbb\console\command\command
protected function execute(InputInterface $input, OutputInterface $output)
{
$io = new SymfonyStyle($input, $output);
if (!$this->manager->check_requirements())
{
$io->error($this->language->lang('EXTENSIONS_COMPOSER_NOT_WRITABLE'));
return 1;
}
$composer_io = new console_io($input, $output, $this->getHelperSet(), $this->language);
$extension = $input->getArgument('extension');