summaryrefslogtreecommitdiffstats
path: root/lib/private/setup.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-09-08 14:22:43 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-09-08 14:30:13 +0200
commit249558966e6a144cf0fb873a3fac5a3664cfdd9d (patch)
tree9af90437c45656d4f00b6bad46376a282750148a /lib/private/setup.php
parent637cff68ac2944d6029eb015640bbbd0e686641b (diff)
downloadnextcloud-server-249558966e6a144cf0fb873a3fac5a3664cfdd9d.tar.gz
nextcloud-server-249558966e6a144cf0fb873a3fac5a3664cfdd9d.zip
Set overwritewebroot when installing owncloud to avoid problems
Fix #10514
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 7ea4c1bcd26..95e908d10ec 100644
--- a/lib/private/setup.php
+++ b/lib/private/setup.php
@@ -77,6 +77,7 @@ class OC_Setup {
//write the config file
\OC::$server->getConfig()->setSystemValue('trusted_domains', $trustedDomains);
\OC::$server->getConfig()->setSystemValue('datadirectory', $datadir);
+ \OC::$server->getConfig()->setSystemValue('overwritewebroot', OC::$WEBROOT);
\OC::$server->getConfig()->setSystemValue('dbtype', $dbtype);
\OC::$server->getConfig()->setSystemValue('version', implode('.', OC_Util::getVersion()));