all-in-one/Containers/nextcloud/config/apps.config.php
Simon L. 03cb72116e nextcloud: fix APPS_ALLOWLIST
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-10 16:24:35 +02:00

18 lines
486 B
PHP

<?php
$CONFIG = array (
'apps_paths' => array (
0 => array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 => array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
);
if (getenv('APPS_ALLOWLIST') !== false) {
$CONFIG['appsallowlist'] = explode(" ", getenv('APPS_ALLOWLIST'));
}