X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConsole%2FTypo.php;h=32ba6ded35186878bea79e9bf8cac456c8444172;hb=3cd654e76f32dbcf505aef6a60a3e42d318f8b61;hp=3f9dce84e055a19db0eb98c7830331fb80830de6;hpb=be6b2295349d4d3e399b58f845efc5014e299275;p=friendica.git diff --git a/src/Core/Console/Typo.php b/src/Core/Console/Typo.php index 3f9dce84e0..32ba6ded35 100644 --- a/src/Core/Console/Typo.php +++ b/src/Core/Console/Typo.php @@ -2,6 +2,8 @@ namespace Friendica\Core\Console; +use Friendica\BaseObject; + /** * Tired of chasing typos and finding them after a commit. * Run this and quickly see if we've got any parse errors in our application files. @@ -41,7 +43,7 @@ HELP; throw new \Asika\SimpleConsole\CommandArgsException('Too many arguments'); } - $php_path = \Friendica\Core\Config::getConfigValue('config', 'php_path', 'php'); + $php_path = BaseObject::getApp()->getConfig()->get('config', 'php_path', 'php'); if ($this->getOption('v')) { $this->out('Directory: src');