Update webpagetool.php
This commit is contained in:
parent
2493cfee10
commit
77e47d5268
|
@ -586,7 +586,7 @@ if(!check_function_exists("get_webproxy_url")) {
|
||||||
if(!check_function_exists("get_web_user_agent")) {
|
if(!check_function_exists("get_web_user_agent")) {
|
||||||
function get_web_user_agent($ua="") {
|
function get_web_user_agent($ua="") {
|
||||||
if(empty($ua)) {
|
if(empty($ua)) {
|
||||||
$ua = "ReasonableFramework/1.2-dev (https://github.com/gnh1201/reasonableframework)";
|
$ua = "ReasonableFramework/1.3 (https://github.com/gnh1201/reasonableframework)";
|
||||||
} else {
|
} else {
|
||||||
$ua = make_safe_argument($ua);
|
$ua = make_safe_argument($ua);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user