mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:35:55 +00:00
remove SELF_USER_AGENT custom constant, replaced with configurable Config::HTTP_USER_AGENT / Config::get_user_agent()
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user