From: Joas Schilling Date: Mon, 8 Sep 2014 12:22:43 +0000 (+0200) Subject: Set overwritewebroot when installing owncloud to avoid problems X-Git-Tag: v7.0.3alpha1~86 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a23396452fe829bbfdd7c0707261839f135b2837;p=nextcloud-server.git Set overwritewebroot when installing owncloud to avoid problems Backport of 249558966e6a144cf0fb873a3fac5a3664cfdd9d to stable7 --- diff --git a/lib/private/setup.php b/lib/private/setup.php index fdf98ab0959..4c9fb6665b9 100644 --- a/lib/private/setup.php +++ b/lib/private/setup.php @@ -73,6 +73,7 @@ class OC_Setup { //write the config file OC_Config::setValue('trusted_domains', $trustedDomains); OC_Config::setValue('datadirectory', $datadir); + OC_Config::setValue('overwritewebroot', OC::$WEBROOT); OC_Config::setValue('dbtype', $dbtype); OC_Config::setValue('version', implode('.', OC_Util::getVersion())); try {