Update webpagetool.php
This commit is contained in:
parent
39a6c84c9a
commit
92d3d1ec98
|
@ -264,11 +264,11 @@ if(!function_exists("get_web_page")) {
|
||||||
$status = false;
|
$status = false;
|
||||||
$resno = false;
|
$resno = false;
|
||||||
$errno = false;
|
$errno = false;
|
||||||
$req_method = $method;
|
|
||||||
$content = false;
|
$content = false;
|
||||||
$headers = array();
|
$req_method = $method;
|
||||||
|
|
||||||
// redefine data
|
// redefine data
|
||||||
|
$headers = array();
|
||||||
if(array_key_is_array("headers", $data)) {
|
if(array_key_is_array("headers", $data)) {
|
||||||
$headers = $data['headers'];
|
$headers = $data['headers'];
|
||||||
$data = $data['data'];
|
$data = $data['data'];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user