]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/Typo.php
1) Refactor App->config[] into Core\Config
[friendica.git] / src / Core / Console / Typo.php
index 82357b475397ded28ae9e41ff5794cdea5af970a..3f9dce84e055a19db0eb98c7830331fb80830de6 100644 (file)
@@ -41,9 +41,7 @@ HELP;
                        throw new \Asika\SimpleConsole\CommandArgsException('Too many arguments');
                }
 
-               $a = \get_app();
-
-               $php_path = $a->getConfigValue('config', 'php_path', 'php');
+               $php_path = \Friendica\Core\Config::getConfigValue('config', 'php_path', 'php');
 
                if ($this->getOption('v')) {
                        $this->out('Directory: src');