Merge 5a8fe00c14
into 473af1bed1
This commit is contained in:
commit
bae18a011c
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
if (getenv('NEXTCLOUD_TRUSTED_DOMAINS')) {
|
||||
// Get originaly configured values
|
||||
include(__DIR__.'/config.php');
|
||||
|
||||
// Add environment variables
|
||||
$CONFIG = array(
|
||||
'trusted_domains' => array_merge($CONFIG['trusted_domains'],array_map(function($domain){return trim($domain);},explode(",",getenv('NEXTCLOUD_TRUSTED_DOMAINS'))))
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue