Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed directory separator which is duplicated when rss_cache.inc cr…

…eates filenames
  • Loading branch information...
commit f51f48615debaa4184f83c9f434c28620bf4e079 1 parent 84b366b
dhawes authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rsslib.php
View
4 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) {
Please sign in to comment.
Something went wrong with that request. Please try again.