From c46c5e59fc8bec35a2a9adaae8501eda47d7d823 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 18 Dec 2019 15:56:27 +0300 Subject: SELF_USER_AGENT: switch to get_version() --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 97557ed95..da87588f0 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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; -- cgit v1.2.3