]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Install.php
Rename App Methods
[friendica.git] / src / Core / Install.php
index ba3a97ea6c376fb64f36a61bda128bd3bfb719e3..ba767f3f9b9d33bff2382171bce32ad0dd4ac5b9 100644 (file)
@@ -86,7 +86,7 @@ class Install extends BaseObject
 
                $app = self::getApp();
 
-               $result = file_put_contents($app->basepath . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'local.ini.php', $txt);
+               $result = file_put_contents($app->getBasePath() . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'local.ini.php', $txt);
                if (!$result) {
                        $app->data['txt'] = $txt;
                }