From 821f1f017ee947ab8933389e4663c5e04150e6f0 Mon Sep 17 00:00:00 2001 From: nohn Date: Wed, 27 Apr 2005 18:43:56 +0000 Subject: [PATCH] backporting an uncritical but useful patch to store cached rss feeds in the template cache folder --- .../serendipity_plugin_remoterss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php b/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php index e43805e..c5dfecd 100644 --- a/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php +++ b/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php @@ -434,7 +434,7 @@ class serendipity_plugin_remoterss extends serendipity_plugin { } if (trim($rssuri)) { - $feedcache = $serendipity['serendipityPath'] . 'archives/remoterss_cache_' . preg_replace('@[^a-z0-9]*@i', '', $rssuri) . '.dat'; + $feedcache = $serendipity['serendipityPath'] . 'templates_c/remoterss_cache_' . preg_replace('@[^a-z0-9]*@i', '', $rssuri) . '.dat'; if (!file_exists($feedcache) || filesize($feedcache) == 0 || filemtime($feedcache) < (time() - $cachetime)) { if ($feedtype == 'rss') { -- 2.39.5