From: nohn Date: Wed, 27 Apr 2005 18:43:56 +0000 (+0000) Subject: backporting an uncritical but useful patch to store cached rss feeds in the template... X-Git-Tag: 0.8.1~27 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=821f1f017ee947ab8933389e4663c5e04150e6f0;p=s9y.git backporting an uncritical but useful patch to store cached rss feeds in the template cache folder --- 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') {