From: dhawes Date: Sat, 29 Jan 2005 02:59:44 +0000 (+0000) Subject: removed directory separator which is duplicated when rss_cache.inc creates filenames X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f51f48615debaa4184f83c9f434c28620bf4e079;p=moodle.git removed directory separator which is duplicated when rss_cache.inc creates filenames --- 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) {