diff options
author | Andrew Dolgov <[email protected]> | 2021-08-23 10:56:31 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-08-23 10:56:31 +0300 |
commit | 2c931df77ccba5e76bc1865584e870219596ff69 (patch) | |
tree | f902ce89ac849f6fd3c7d250489ccadf228ccbfd /include/functions.php | |
parent | 5c6025447416616f47ab7b22d179d2b27a2c3eba (diff) |
remove SELF_USER_AGENT custom constant, replaced with configurable Config::HTTP_USER_AGENT / Config::get_user_agent()
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php index 922d3765c..36519fd44 100644 --- a/include/functions.php +++ b/include/functions.php @@ -157,8 +157,7 @@ require_once 'controls.php'; require_once 'controls_compat.php'; - define('SELF_USER_AGENT', 'Tiny Tiny RSS/' . Config::get_version() . ' (http://tt-rss.org/)'); - ini_set('user_agent', SELF_USER_AGENT); + ini_set('user_agent', Config::get_user_agent()); /* compat shims */ |