diff options
author | redmatrix <git@macgirvin.com> | 2016-05-19 16:48:10 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-19 16:48:10 -0700 |
commit | 6e7d7c50174ffe3db78c5318dde0d9b0b1f416b8 (patch) | |
tree | 1f58fd40ed3dd2e4afaf165817cc09aedffeff77 /include | |
parent | fc239cb8a2ac944c159445961cd94ff9d35c9add (diff) | |
download | volse-hubzilla-6e7d7c50174ffe3db78c5318dde0d9b0b1f416b8.tar.gz volse-hubzilla-6e7d7c50174ffe3db78c5318dde0d9b0b1f416b8.tar.bz2 volse-hubzilla-6e7d7c50174ffe3db78c5318dde0d9b0b1f416b8.zip |
minor
Diffstat (limited to 'include')
-rw-r--r-- | include/environment.php | 2 | ||||
-rw-r--r-- | include/gprobe.php | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/environment.php b/include/environment.php index 47ad241a7..11d465b84 100644 --- a/include/environment.php +++ b/include/environment.php @@ -60,6 +60,8 @@ function phpiniSizeToBytes($val) { $val *= 1024; case 'k': $val *= 1024; + default: + break; } return (int)$val; diff --git a/include/gprobe.php b/include/gprobe.php index bd02ac31b..f3daae9d6 100644 --- a/include/gprobe.php +++ b/include/gprobe.php @@ -3,6 +3,9 @@ require_once('include/cli_startup.php'); require_once('include/zot.php'); +// CLI utility +// performs zot_finger on $argv[1], which is a hex_encoded webbie/reddress + function gprobe_run($argc,$argv){ cli_startup(); |