]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/AutomaticInstallation.php
1) Refactor App->config[] into Core\Config
[friendica.git] / src / Core / Console / AutomaticInstallation.php
index c38dab9806b5d22a21dadcac9fc01ac73bb7e072..9a63f56ed419b10d9856ed0d2119ddce807ff6fd 100644 (file)
@@ -100,10 +100,10 @@ HELP;
                                }
                        }
 
-                       $db_host = $a->getConfigValue('database', 'hostname');
-                       $db_user = $a->getConfigValue('database', 'username');
-                       $db_pass = $a->getConfigValue('database', 'password');
-                       $db_data = $a->getConfigValue('database', 'database');
+                       $db_host = Config::getConfigValue('database', 'hostname');
+                       $db_user = Config::getConfigValue('database', 'username');
+                       $db_pass = Config::getConfigValue('database', 'password');
+                       $db_data = Config::getConfigValue('database', 'database');
                } else {
                        // Creating config file
                        $this->out("Creating config file...\n");