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
1 changed files with 1 additions and 1 deletions

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;