From 03cb72116e3dab891ca6582402ea44210be60438 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Wed, 10 Jul 2024 16:24:35 +0200 Subject: [PATCH] nextcloud: fix APPS_ALLOWLIST Signed-off-by: Simon L. --- Containers/nextcloud/config/apps.config.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Containers/nextcloud/config/apps.config.php b/Containers/nextcloud/config/apps.config.php index cff5dadd..6ccf8932 100644 --- a/Containers/nextcloud/config/apps.config.php +++ b/Containers/nextcloud/config/apps.config.php @@ -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')); +}