diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-17 14:51:57 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-17 14:51:57 -0700 |
commit | 0754da58da96316a9ff4505f9c7c712c1f0094b6 (patch) | |
tree | 4547950121b0ade42878ce9a4d5b7cb5430bf02d /util/pconfig | |
parent | 31df7af61f449d2fe307b3440c7dd7bf4b016cf0 (diff) | |
download | volse-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/pconfig')
-rwxr-xr-x | util/pconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/pconfig b/util/pconfig index 1afba8306..1847a5a81 100755 --- a/util/pconfig +++ b/util/pconfig @@ -54,6 +54,13 @@ EndOfOutput; } +if($argc > 2 && strpos($argv[2],'.')) { + $x = explode('.',$argv[2]); + $argv = [ $argv[0], $argv[1], $x[0], $x[1], (($argc > 3) ? $argv[3] : null) ]; + $argc = $argc + 1; +} + + if($argc > 4) { set_pconfig($argv[1],$argv[2],$argv[3],$argv[4]); build_sync_packet($argv[1]); |