0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-18 02:56:42 +01:00
nextcloud-docker/26/fpm-alpine/config/trusteddomains.config.php
Melvin mngmt-02 a16b4f71cc making NEXTCLOUD_TRUSTED_DOMAINS after install
Signed-off-by: Melvin mngmt-02 <melvin@suter.dev>
Signed-off-by: Melvin Suter <github@suter.dev>
2023-10-13 16:37:05 +02:00

7 lines
202 B
PHP

<?php
if (getenv('NEXTCLOUD_TRUSTED_DOMAINS')) {
$CONFIG = array(
'trusted_domains' => array_map(function($domain){return trim($domain);},explode(",",getenv('NEXTCLOUD_TRUSTED_DOMAINS')))
);
}