diff options
author | Andrew Dolgov <[email protected]> | 2021-03-01 13:43:37 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-01 13:43:37 +0300 |
commit | 320503dd3911de93d059ebe1ba8b96004d8f6b03 (patch) | |
tree | ce44d5c6b8ed3a6cd54d2bb7dda47445f1b2f688 /plugins | |
parent | 20a844085f42975a9e2d20a9cd489a0251d52ad5 (diff) |
move version-related stuff to Config; fix conditional feed requests
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/af_comics/filters/af_comics_gocomics.php | 2 | ||||
-rw-r--r-- | plugins/af_comics/filters/af_comics_gocomics_farside.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/af_comics/filters/af_comics_gocomics.php b/plugins/af_comics/filters/af_comics_gocomics.php index 6c5c7c0d3..71d387918 100644 --- a/plugins/af_comics/filters/af_comics_gocomics.php +++ b/plugins/af_comics/filters/af_comics_gocomics.php @@ -40,7 +40,7 @@ class Af_Comics_Gocomics extends Af_ComicFilter { $tpl->readTemplateFromFile('templates/generated_feed.txt'); $tpl->setVariable('FEED_TITLE', $feed_title, true); - $tpl->setVariable('VERSION', get_version(), true); + $tpl->setVariable('VERSION', Config::get_version(), true); $tpl->setVariable('FEED_URL', htmlspecialchars($url), true); $tpl->setVariable('SELF_URL', $site_url, true); diff --git a/plugins/af_comics/filters/af_comics_gocomics_farside.php b/plugins/af_comics/filters/af_comics_gocomics_farside.php index 89322209d..0399015ab 100644 --- a/plugins/af_comics/filters/af_comics_gocomics_farside.php +++ b/plugins/af_comics/filters/af_comics_gocomics_farside.php @@ -33,7 +33,7 @@ class Af_Comics_Gocomics_FarSide extends Af_ComicFilter { $tpl->readTemplateFromFile('templates/generated_feed.txt'); $tpl->setVariable('FEED_TITLE', "The Far Side", true); - $tpl->setVariable('VERSION', get_version(), true); + $tpl->setVariable('VERSION', Config::get_version(), true); $tpl->setVariable('FEED_URL', htmlspecialchars($url), true); $tpl->setVariable('SELF_URL', htmlspecialchars($url), true); |