]> source.dussan.org Git - nextcloud-server.git/commitdiff
Set overwritewebroot when installing owncloud to avoid problems
authorJoas Schilling <nickvergessen@gmx.de>
Mon, 8 Sep 2014 12:22:43 +0000 (14:22 +0200)
committerVincent Petry <pvince81@owncloud.com>
Mon, 15 Sep 2014 09:06:47 +0000 (11:06 +0200)
Backport of 249558966e6a144cf0fb873a3fac5a3664cfdd9d to stable7

lib/private/setup.php

index fdf98ab0959209e88dffdfe8d99028290e547481..4c9fb6665b9233d73d4fc9cf52315e1b6baf7571 100644 (file)
@@ -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 {