1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11150] Enforce enable on install and purge on remove options

PHPBB3-11150
This commit is contained in:
Tristan Darricau
2015-09-15 12:33:19 +02:00
committed by Tristan Darricau
parent 8f1d254191
commit 46972aa4c7
6 changed files with 125 additions and 18 deletions

View File

@@ -598,6 +598,7 @@ class acp_extensions
$this->config->set('exts_composer_enable_on_install', $enable_on_install);
$this->config->set('exts_composer_purge_on_remove', $purge_on_remove);
$this->config->set('exts_composer_repositories', serialize($repositories));
if (!$this->config['exts_composer_packagist'] && $enable_packagist)
{
$s_hidden_fields = build_hidden_fields(array(