Update webpagetool.php
This commit is contained in:
parent
3d94dd8296
commit
1ac4c56a8b
|
@ -596,7 +596,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.4 (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