Thomas Bruederli
2014-04-23 5b6d09ad29e4f1695689bd6b24d681c4f926ea4b
Configured host can be a URL
1 files modified
6 ■■■■■ changed files
bin/deluser.sh 6 ●●●●● patch | view | raw | blame | history
bin/deluser.sh
@@ -58,6 +58,12 @@
    else {
        _die("Specify a host name", true);
    }
    // host can be a URL like tls://192.168.12.44
    $host_url = parse_url($args['host']);
    if ($host_url['host']) {
        $args['host'] = $host_url['host'];
    }
}
// connect to DB