1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:35:56 +00:00

remove version.php and VERSION global constant, do version-related things in a slightly less ridiculous way

This commit is contained in:
Andrew Dolgov
2019-12-18 14:27:40 +03:00
parent 10aabfcd09
commit 72d0fac80c
8 changed files with 43 additions and 56 deletions

View File

@@ -110,7 +110,7 @@ class Af_Comics extends Plugin {
$tpl->readTemplateFromFile('templates/generated_feed.txt');
$tpl->setVariable('FEED_TITLE', $feed_title, true);
$tpl->setVariable('VERSION', VERSION, true);
$tpl->setVariable('VERSION', get_version(), true);
$tpl->setVariable('FEED_URL', htmlspecialchars($fetch_url), true);
$tpl->setVariable('SELF_URL', $site_url, true);