0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-18 02:56:42 +01:00
nextcloud-docker/27/fpm/config/trusteddomains.config.php

8 lines
202 B
PHP
Raw Normal View History

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