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

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