1) Refactor App->config[] into Core\Config

This commit is contained in:
Philipp Holzer
2019-02-03 18:54:25 +01:00
parent 82f713cb7f
commit be6b229534
11 changed files with 191 additions and 177 deletions

View 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');