SELF_USER_AGENT: switch to get_version()

master
Andrew Dolgov 5 years ago
parent 72d8a34f74
commit c46c5e59fc

@ -153,7 +153,7 @@
require_once 'db-prefs.php'; require_once 'db-prefs.php';
require_once 'controls.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); ini_set('user_agent', SELF_USER_AGENT);
$schema_version = false; $schema_version = false;

Loading…
Cancel
Save