22 lines
583 B
PHP
22 lines
583 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')) {
|
|
$CONFIG['appsallowlist'] = explode(" ", getenv('APPS_ALLOWLIST'));
|
|
}
|
|
if (getenv('NEXTCLOUD_APP_STORE_URL')) {
|
|
$CONFIG['appstoreurl'] = getenv('NEXTCLOUD_APP_STORE_URL');
|
|
}
|