diff options
author | Andrew Dolgov <[email protected]> | 2021-09-01 08:28:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-09-01 08:28:53 +0300 |
commit | e0050a12f60843a940a5c3b14f80fc8d39dfb0d2 (patch) | |
tree | f1c007321a413c0054672d9b5f709933303bcbc5 | |
parent | 15d037c6a076494220c7c29677e32dec5f69431d (diff) |
stop trying to use removed global SELF_USER_AGENT
-rwxr-xr-x | init.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ class Af_Unburn extends Plugin { curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_NOBODY, true); - curl_setopt($ch, CURLOPT_USERAGENT, SELF_USER_AGENT); + curl_setopt($ch, CURLOPT_USERAGENT, Config::get_user_agent()); if (Config::get(Config::HTTP_PROXY)) { curl_setopt($ch, CURLOPT_PROXY, Config::get(Config::HTTP_PROXY)); |