]> git.mxchange.org Git - friendica.git/commitdiff
Replace missing App->getURLPath in mod/install
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 11 Oct 2018 12:49:52 +0000 (08:49 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 11 Oct 2018 12:49:52 +0000 (08:49 -0400)
mod/install.php

index 7a69a731baa7ed34570458fddf345a215277aba2..97677344a04e27bad4d52c08185d4198ebb6add5 100644 (file)
@@ -42,7 +42,6 @@ function install_post(App $a) {
                        return;
                        break; // just in case return don't return :)
                case 3:
-                       $urlpath = $a->get_path();
                        $dbhost = notags(trim($_POST['dbhost']));
                        $dbuser = notags(trim($_POST['dbuser']));
                        $dbpass = notags(trim($_POST['dbpass']));
@@ -57,7 +56,7 @@ function install_post(App $a) {
                        return;
                        break;
                case 4:
-                       $urlpath = $a->get_path();
+                       $urlpath = $a->getURLPath();
                        $dbhost = notags(trim($_POST['dbhost']));
                        $dbuser = notags(trim($_POST['dbuser']));
                        $dbpass = notags(trim($_POST['dbpass']));
@@ -97,8 +96,6 @@ function install_content(App $a) {
        $wizard_status = "";
        $install_title = L10n::t('Friendica Communications Server - Setup');
 
-
-
        if (x($a->data, 'db_conn_failed')) {
                $install_wizard_pass = 2;
                $wizard_status = L10n::t('Could not connect to database.');