summaryrefslogtreecommitdiffstats
path: root/lib/private/setup.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-02-18 16:26:37 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2014-02-21 15:19:01 +0100
commitfe44ac264bd8f636c1189d6ad6430ac991038ae6 (patch)
tree40af92ef770fee2cea520165b10648ed794485c4 /lib/private/setup.php
parent92560c5b86cb88920b6e439bdf4b90f1d59e9b6c (diff)
downloadnextcloud-server-fe44ac264bd8f636c1189d6ad6430ac991038ae6.tar.gz
nextcloud-server-fe44ac264bd8f636c1189d6ad6430ac991038ae6.zip
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 5232398d1d7..f3ef4df200d 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()));