mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
[ticket/11150] Disable if directories not writable
PHPBB3-11150
This commit is contained in:
committed by
Tristan Darricau
parent
0a809fb90e
commit
cc0a762866
@@ -71,6 +71,13 @@ class update extends \phpbb\console\command\command
|
||||
$output->getFormatter()->setStyle('warning', new OutputFormatterStyle('black', 'yellow'));
|
||||
|
||||
$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);
|
||||
$extensions = $input->getArgument('extensions');
|
||||
|
||||
|
Reference in New Issue
Block a user