mirror of
https://github.com/moodle/moodle.git
synced 2025-07-25 00:02:18 +02:00
rss MDL-23383 moved the RSS cache to /dataroot/cache/rss
This commit is contained in:
@@ -136,9 +136,9 @@ function blog_rss_file_name($type, $id, $tagid=0) {
|
||||
global $CFG;
|
||||
|
||||
if ($tagid) {
|
||||
return "$CFG->dataroot/rss/blog/$type/$id/$tagid.xml";
|
||||
return "$CFG->dataroot/cache/rss/blog/$type/$id/$tagid.xml";
|
||||
} else {
|
||||
return "$CFG->dataroot/rss/blog/$type/$id.xml";
|
||||
return "$CFG->dataroot/cache/rss/blog/$type/$id.xml";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user