mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-04 04:51:59 +08:00
Merge pull request #4964 from nextcloud/enh/noid/fix-allowlist
nextcloud: fix APPS_ALLOWLIST
This commit is contained in:
commit
01fbe3dbc9
1 changed files with 3 additions and 1 deletions
|
@ -12,5 +12,7 @@ $CONFIG = array (
|
|||
'writable' => true,
|
||||
),
|
||||
),
|
||||
'appsallowlist' => getenv('APPS_ALLOWLIST') ? explode(" ", getenv('APPS_ALLOWLIST')) : false,
|
||||
);
|
||||
if (getenv('APPS_ALLOWLIST') !== false) {
|
||||
$CONFIG['appsallowlist'] = explode(" ", getenv('APPS_ALLOWLIST'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue