Update webpagetool.php

This commit is contained in:
Namhyeon Go 2022-12-19 10:30:31 +09:00 committed by GitHub
parent c327e6b0fa
commit 70d7478d1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -884,7 +884,7 @@ if(!is_fn("get_webproxy_url")) {
if(!is_fn("get_web_user_agent")) {
function get_web_user_agent($ua="") {
if(empty($ua)) {
$ua = "ReasonableFramework/1.6-dev (https://github.com/gnh1201/reasonableframework)";
$ua = "ReasonableFramework/1.6-dev (Server; PHP " . phpversion() . "; https://github.com/gnh1201/reasonableframework; abuse@catswords.net)";
} else {
$ua = make_safe_argument($ua);
}