X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FConfig.php;h=0a38f607f48674d2406c0a7edb035af1516f70bb;hb=77906627c5bb57d404d40702f89c205d1faa9542;hp=831ea9e9c5156822bf8ef7dbb57a0efc89fc4f8d;hpb=13a10b8f20ac7c5927c39d9e80e1a7d515385736;p=friendica.git diff --git a/src/Console/Config.php b/src/Console/Config.php index 831ea9e9c5..0a38f607f4 100644 --- a/src/Console/Config.php +++ b/src/Console/Config.php @@ -1,6 +1,6 @@ config->get($cat, $key) === $value) { + throw new RuntimeException("$cat.$key already set to $value."); + } + $result = $this->config->set($cat, $key, $value); if ($result) { $this->out("{$cat}.{$key} <= " .