Browse files

removed directory separator which is duplicated when cr…

…eates filenames
  • Loading branch information...
1 parent 84b366b commit f51f48615debaa4184f83c9f434c28620bf4e079 dhawes committed Jan 29, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rsslib.php
@@ -320,8 +320,8 @@ function rss_full_tag($tag,$level=0,$endline=true,$content,$to_utf=true) {
// 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) {

0 comments on commit f51f486

Please sign in to comment.