aboutsummaryrefslogtreecommitdiffstats
path: root/util/config
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-17 14:51:57 -0700
committerredmatrix <mike@macgirvin.com>2016-09-17 14:51:57 -0700
commit0754da58da96316a9ff4505f9c7c712c1f0094b6 (patch)
tree4547950121b0ade42878ce9a4d5b7cb5430bf02d /util/config
parent31df7af61f449d2fe307b3440c7dd7bf4b016cf0 (diff)
downloadvolse-hubzilla-0754da58da96316a9ff4505f9c7c712c1f0094b6.tar.gz
volse-hubzilla-0754da58da96316a9ff4505f9c7c712c1f0094b6.tar.bz2
volse-hubzilla-0754da58da96316a9ff4505f9c7c712c1f0094b6.zip
some changes merged from wrong branch... new function channel_reddress() instead of hardwired generation and which fixes case-sensitivity; allow dot notation in config and pconfig utils, updated string file
Diffstat (limited to 'util/config')
-rwxr-xr-xutil/config6
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]);