all-in-one/Containers/nextcloud/config/apps.config.php
Julius Härtl dacd48cfd0
fix: Do not apply an empty allow list if none is set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-19 16:09:51 +01:00

16 lines
473 B
PHP

<?php
$CONFIG = array (
'apps_paths' => array (
0 => array (
'path' => OC::$SERVERROOT.'/apps',
'url' => '/apps',
'writable' => false,
),
1 => array (
'path' => OC::$SERVERROOT.'/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'appsallowlist' => getenv('APPS_ALLOWLIST') ? explode(" ", getenv('APPS_ALLOWLIST')) : false,
);