From 72d0fac80c0d88d015203578007260c338b40ece Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 18 Dec 2019 14:27:40 +0300 Subject: remove version.php and VERSION global constant, do version-related things in a slightly less ridiculous way --- plugins/af_comics/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/af_comics') 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); -- cgit v1.2.3