Update webpagetool.php
This commit is contained in:
parent
2125379aee
commit
39a6c84c9a
|
@ -238,6 +238,10 @@ if(!function_exists("get_web_curl")) {
|
|||
$options[CURLOPT_URL] = get_web_build_qs($url, $data);
|
||||
}
|
||||
|
||||
if(count($headers) > 0) {
|
||||
$options[CURLOPT_HTTPHEADER] = $headers;
|
||||
}
|
||||
|
||||
$ch = curl_init();
|
||||
curl_setopt_array($ch, $options);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user