aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/setup.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-02-22 07:35:56 +0100
committerLukas Reschke <lukas@statuscode.ch>2014-02-22 07:35:56 +0100
commitc9ab11a9bd191fd3b8bb6360be245cb5af52027c (patch)
tree8cf6a2bfd045b107403c8190c2807ed075fb886f /lib/private/setup.php
parent079d64ce750ac25a9562df75b663075304ab934a (diff)
parentfe44ac264bd8f636c1189d6ad6430ac991038ae6 (diff)
downloadnextcloud-server-c9ab11a9bd191fd3b8bb6360be245cb5af52027c.tar.gz
nextcloud-server-c9ab11a9bd191fd3b8bb6360be245cb5af52027c.zip
Merge pull request #7259 from owncloud/overwritehost-always
Add overwritehost config on setup and upgrade
Diffstat (limited to 'lib/private/setup.php')
-rw-r--r--lib/private/setup.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php
index 7bf75be0165..3906204bda3 100644
--- a/lib/private/setup.php
+++ b/lib/private/setup.php
@@ -65,6 +65,7 @@ class OC_Setup {
OC_Config::setValue('passwordsalt', $salt);
//write the config file
+ OC_Config::setValue('trusted_domains', array(OC_Request::serverHost()));
OC_Config::setValue('datadirectory', $datadir);
OC_Config::setValue('dbtype', $dbtype);
OC_Config::setValue('version', implode('.', OC_Util::getVersion()));