Update webpagetool.php

This commit is contained in:
Namhyeon Go 2021-05-27 14:50:04 +09:00 committed by GitHub
parent 450abe5d92
commit 74363530ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -553,6 +553,12 @@ if(!is_fn("get_web_page")) {
$content = false; $content = false;
$_method = $method; $_method = $method;
// check request method
if (!is_string($method)) {
set_error("method must be string");
show_errors();
}
// get process ID // get process ID
$pid = getmyid(); $pid = getmyid();