summaryrefslogtreecommitdiff
path: root/plugins/af_comics/filters/af_comics_gocomics.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.php
parent82326187f9f9265699ac3f3c5fd20015de2616a3 (diff)
allow overriding built-in templates via templates.local
Diffstat (limited to 'plugins/af_comics/filters/af_comics_gocomics.php')
-rw-r--r--plugins/af_comics/filters/af_comics_gocomics.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/af_comics/filters/af_comics_gocomics.php b/plugins/af_comics/filters/af_comics_gocomics.php
index 791dc07d3..2cb49b9bc 100644
--- a/plugins/af_comics/filters/af_comics_gocomics.php
+++ b/plugins/af_comics/filters/af_comics_gocomics.php
@@ -31,13 +31,11 @@ class Af_Comics_Gocomics extends Af_ComicFilter {
$body = fetch_file_contents(array('url' => $article_link, 'type' => 'text/html', 'followlocation' => false));
- require_once 'lib/MiniTemplator.class.php';
-
$feed_title = htmlspecialchars($comic[1]);
$site_url = htmlspecialchars($site_url);
$article_link = htmlspecialchars($article_link);
- $tpl = new MiniTemplator();
+ $tpl = new Templator();
$tpl->readTemplateFromFile('templates/generated_feed.txt');