]> git.mjollnir.org Git - s9y.git/commitdiff
backporting an uncritical but useful patch to store cached rss feeds in the template...
authornohn <nohn>
Wed, 27 Apr 2005 18:43:56 +0000 (18:43 +0000)
committernohn <nohn>
Wed, 27 Apr 2005 18:43:56 +0000 (18:43 +0000)
plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php

index e43805e9c8a5f14e02b81e999a49f72c8a741d68..c5dfecdda24a3d9a10fe95c19de4410cf56cbbf0 100644 (file)
@@ -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') {