summaryrefslogtreecommitdiff
path: root/plugins/af_comics/filters/af_comics_gocomics_farside.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-03-13 14:40:35 +0300
committerAndrew Dolgov <[email protected]>2020-03-13 14:40:35 +0300
commit1f2a7219054872d3cf968ac385a5f529db4a4333 (patch)
tree2e69281eb99b7c6542567703adf3d9d2b8ef0286 /plugins/af_comics/filters/af_comics_gocomics_farside.php
parent82326187f9f9265699ac3f3c5fd20015de2616a3 (diff)
allow overriding built-in templates via templates.local
Diffstat (limited to 'plugins/af_comics/filters/af_comics_gocomics_farside.php')
-rw-r--r--plugins/af_comics/filters/af_comics_gocomics_farside.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/af_comics/filters/af_comics_gocomics_farside.php b/plugins/af_comics/filters/af_comics_gocomics_farside.php
index 783907e17..71c5e0059 100644
--- a/plugins/af_comics/filters/af_comics_gocomics_farside.php
+++ b/plugins/af_comics/filters/af_comics_gocomics_farside.php
@@ -25,11 +25,10 @@ class Af_Comics_Gocomics_FarSide extends Af_ComicFilter {
public function on_fetch($url) {
if (preg_match("#^https?://www\.thefarside\.com#", $url)) {
- require_once 'lib/MiniTemplator.class.php';
$article_link = htmlspecialchars("https://www.thefarside.com" . date('/Y/m/d'));
- $tpl = new MiniTemplator();
+ $tpl = new Templator();
$tpl->readTemplateFromFile('templates/generated_feed.txt');