1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 21:25:55 +00:00

SELF_USER_AGENT: switch to get_version()

This commit is contained in:
Andrew Dolgov
2019-12-18 15:56:27 +03:00
parent 72d8a34f74
commit c46c5e59fc

View File

@@ -153,7 +153,7 @@
require_once 'db-prefs.php';
require_once 'controls.php';
define('SELF_USER_AGENT', 'Tiny Tiny RSS/' . VERSION . ' (http://tt-rss.org/)');
define('SELF_USER_AGENT', 'Tiny Tiny RSS/' . get_version() . ' (http://tt-rss.org/)');
ini_set('user_agent', SELF_USER_AGENT);
$schema_version = false;