From f51f48615debaa4184f83c9f434c28620bf4e079 Mon Sep 17 00:00:00 2001 From: dhawes Date: Sat, 29 Jan 2005 02:59:44 +0000 Subject: [PATCH] removed directory separator which is duplicated when rss_cache.inc creates filenames --- lib/rsslib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rsslib.php b/lib/rsslib.php index ed641bd458..a16281714c 100644 --- a/lib/rsslib.php +++ b/lib/rsslib.php @@ -320,8 +320,8 @@ if (!isset($CFG->block_rss_timeout) ) { // Defines for moodle's use of magpierss classes define('MAGPIE_DIR', $CFG->dirroot.'/lib/magpie/'); -define('MAGPIE_CACHE_DIR', $CFG->dataroot .'/cache/rsscache/'); -define('MAGPIE_CACHE_ON', true); //should be exposed as an admin config option +define('MAGPIE_CACHE_DIR', $CFG->dataroot .'/cache/rsscache'); +define('MAGPIE_CACHE_ON', true); //might want to expose as an admin config option, but perhaps this is something that should truly just be on unless the code is tweaked define('MAGPIE_CACHE_FRESH_ONLY', false); //should be exposed as an admin config option define('MAGPIE_CACHE_AGE', $CFG->block_rss_timeout); if ($CFG->debug) { -- 2.39.5