aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/environment.php2
-rw-r--r--include/gprobe.php3
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();