]> git.mjollnir.org Git - moodle.git/commitdiff
removed directory separator which is duplicated when rss_cache.inc creates filenames
authordhawes <dhawes>
Sat, 29 Jan 2005 02:59:44 +0000 (02:59 +0000)
committerdhawes <dhawes>
Sat, 29 Jan 2005 02:59:44 +0000 (02:59 +0000)
lib/rsslib.php

index ed641bd458b9429d59108c95e585162c50ae207e..a16281714c84d5d02fa50ea4f1f057be9b86f636 100644 (file)
@@ -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) {