Merge pull request #4964 from nextcloud/enh/noid/fix-allowlist

nextcloud: fix APPS_ALLOWLIST
This commit is contained in:
Simon L 2024-07-10 17:45:06 +02:00 committed by GitHub
commit 01fbe3dbc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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'));
}