From 6e7d7c50174ffe3db78c5318dde0d9b0b1f416b8 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 19 May 2016 16:48:10 -0700 Subject: minor --- include/environment.php | 2 ++ include/gprobe.php | 3 +++ 2 files changed, 5 insertions(+) (limited to 'include') 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(); -- cgit v1.2.3