diff options
Diffstat (limited to 'util/config')
-rwxr-xr-x | util/config | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/config b/util/config index d4bcd5da1..38d2fed4f 100755 --- a/util/config +++ b/util/config @@ -48,7 +48,11 @@ EndOfOutput; return; } - +if($argc > 1 && strpos($argv[1],'.')) { + $x = explode('.',$argv[1]); + $argv = [ $argv[0], $x[0], $x[1], (($argc > 2) ? $argv[2] : null) ]; + $argc = $argc + 1; +} if($argc > 3) { set_config($argv[1],$argv[2],$argv[3]); |