summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-12-18 15:56:27 +0300
committerAndrew Dolgov <[email protected]>2019-12-18 15:56:27 +0300
commitc46c5e59fc8bec35a2a9adaae8501eda47d7d823 (patch)
tree0aee4ecc04deb3de2fe374fba8217a94da407467 /include
parent72d8a34f748ca065e32c2e1f330f869e39e0d909 (diff)
SELF_USER_AGENT: switch to get_version()
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
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;