Revision b442f218
Added by Scott Ullrich over 19 years ago
usr/local/www/exec_raw.php | ||
---|---|---|
33 | 33 |
include("guiconfig.inc"); |
34 | 34 |
|
35 | 35 |
putenv("PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"); |
36 |
if($_GET['cmd'] == "") { |
|
37 |
echo "Nothing specified. Cannot continue."; |
|
38 |
exit; |
|
39 |
} |
|
36 | 40 |
passthru($_GET['cmd']); |
37 | 41 |
|
38 | 42 |
exit(0); |
Also available in: Unified diff
Error out when nothing specified instead of passing "" to passthru()