summaryrefslogtreecommitdiff
path: root/plugins/af_comics
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-12-18 14:27:40 +0300
committerAndrew Dolgov <[email protected]>2019-12-18 14:27:40 +0300
commit72d0fac80c0d88d015203578007260c338b40ece (patch)
treeef8180d43cb63a1236cae4c60e1381bc06d90f20 /plugins/af_comics
parent10aabfcd09958b6e7ac5a814c96e08a190990b08 (diff)
remove version.php and VERSION global constant, do version-related things in a slightly less ridiculous way
Diffstat (limited to 'plugins/af_comics')
-rwxr-xr-xplugins/af_comics/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_comics/init.php b/plugins/af_comics/init.php
index c0e97297d..47e5894a7 100755
--- a/plugins/af_comics/init.php
+++ b/plugins/af_comics/init.php
@@ -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);