Update webpagetool.php
This commit is contained in:
parent
450abe5d92
commit
74363530ec
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user