Set overwritewebroot when installing owncloud to avoid problems

Fix #10514
This commit is contained in:
Joas Schilling 2014-09-08 14:22:43 +02:00
parent 637cff68ac
commit 249558966e
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ class OC_Setup {
//write the config file //write the config file
\OC::$server->getConfig()->setSystemValue('trusted_domains', $trustedDomains); \OC::$server->getConfig()->setSystemValue('trusted_domains', $trustedDomains);
\OC::$server->getConfig()->setSystemValue('datadirectory', $datadir); \OC::$server->getConfig()->setSystemValue('datadirectory', $datadir);
\OC::$server->getConfig()->setSystemValue('overwritewebroot', OC::$WEBROOT);
\OC::$server->getConfig()->setSystemValue('dbtype', $dbtype); \OC::$server->getConfig()->setSystemValue('dbtype', $dbtype);
\OC::$server->getConfig()->setSystemValue('version', implode('.', OC_Util::getVersion())); \OC::$server->getConfig()->setSystemValue('version', implode('.', OC_Util::getVersion()));