Update webpagetool.php

This commit is contained in:
Namhyeon Go 2018-09-24 01:05:17 +09:00 committed by GitHub
parent f1c7f834f1
commit 1a9a5042ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,10 @@ if(!function_exists("get_web_cmd")) {
$cmd_fin = "";
$cmd = "";
loadHelper("exectool");
if(!loadHelper("exectool")) {
set_error("Helper exectool is required");
show_errors();
}
if($method == "get") {
$cmd = "curl -A '%s' -k '%s'";