Update webpagetool.php

This commit is contained in:
Namhyeon Go 2019-02-13 13:27:07 +09:00 committed by GitHub
parent 8e8007057d
commit 44be1de174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,7 +243,7 @@ if(!function_exists("get_web_curl")) {
);
if(empty($options[CURLOPT_USERAGENT])) {
$ua = "github://gnh1201/reasonableframework";
$ua = "ReasonableFramework/1.1 (https://github.com/gnh1201/reasonableframework)";
$options[CURLOPT_USERAGENT] = $ua;
}
@ -311,7 +311,7 @@ if(!function_exists("get_web_page")) {
// set user agent
if(empty($ua)) {
$ua = "github://gnh1201/reasonableframework";
$ua = "ReasonableFramework/1.1 (https://github.com/gnh1201/reasonableframework)";
}
// redefine data