We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15ace20 commit 1e3b9a6Copy full SHA for 1e3b9a6
server/cli/ispc.php
@@ -41,7 +41,7 @@
41
42
//* Check input
43
$module = $argv[1];
44
-if($module == '-h' || $module == '--help') $module = 'help';
+if(empty($module) || $module == '-h' || $module == '--help') $module = 'help';
45
if(!preg_match("/[a-z0-9]{3,20}/",$module)) die("Invalid commandline option\n");
46
//* Check if cli module exists and run it
47
if(is_file('modules/'.$module.'.inc.php')) {
0 commit comments