mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00:00
Bugfixing AutomaticInstallation test
This commit is contained in:
parent
bc73d4bd2b
commit
90e88d6c35
9 changed files with 37 additions and 25 deletions
|
@ -124,9 +124,9 @@ HELP;
|
|||
$cat = $this->getArgument(0);
|
||||
Core\Config::load($cat);
|
||||
|
||||
if (Core\Config::getConfigValue($cat) !== null) {
|
||||
if ($a->getConfig()->get($cat) !== null) {
|
||||
$this->out("[{$cat}]");
|
||||
$catVal = Core\Config::getConfigValue($cat);
|
||||
$catVal = $a->getConfig()->get($cat);
|
||||
foreach ($catVal as $key => $value) {
|
||||
if (is_array($value)) {
|
||||
foreach ($value as $k => $v) {
|
||||
|
@ -148,7 +148,7 @@ HELP;
|
|||
$this->out('Warning: The JIT (Just In Time) Config adapter doesn\'t support loading the entire configuration, showing file config only');
|
||||
}
|
||||
|
||||
$config = Core\Config::getAll();
|
||||
$config = $a->getConfig()->getAll();
|
||||
foreach ($config as $cat => $section) {
|
||||
if (is_array($section)) {
|
||||
foreach ($section as $key => $value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue