]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Install.php
Merge pull request #7435 from annando/select-to-array
[friendica.git] / src / Module / Install.php
index 54c6141cc725fcda67362dabab8284aa674ee5ba..a7427ead0dbb226de0b1d0c851a5684ecfcde127 100644 (file)
@@ -67,7 +67,8 @@ class Install extends BaseModule
 
                // get basic installation information and save them to the config cache
                $configCache = $a->getConfigCache();
-               self::$installer->setUpCache($configCache, BasePath::create($a->getBasePath(), $_SERVER));
+               $basePath = new BasePath($a->getBasePath());
+               self::$installer->setUpCache($configCache, $basePath->getPath());
 
                // We overwrite current theme css, because during install we may not have a working mod_rewrite
                // so we may not have a css at all. Here we set a static css file for the install procedure pages