Update webpagetool.php
This commit is contained in:
parent
8797c4d618
commit
fd74b66231
|
|
@ -24,7 +24,7 @@ if(!function("get_web_page")) {
|
||||||
if(!empty($ua)) {
|
if(!empty($ua)) {
|
||||||
$options[CURLOPT_USERAGENT] = $ua;
|
$options[CURLOPT_USERAGENT] = $ua;
|
||||||
} else {
|
} else {
|
||||||
$options[CURLOPT_USERAGENT] = "2018 ReasonableFramework, github.com/gnh1201/reasonableframework";
|
$options[CURLOPT_USERAGENT] = "2018 ReasonableFramework;https://github.com/gnh1201/reasonableframework";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!empty($proxy)) {
|
if(!empty($proxy)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user