$status = true;
//blog creates some additional dirs within the rss cache so make sure they all exist
- make_upload_directory('cache/rss/blog');
- make_upload_directory('cache/rss/blog/'.$type);
+ make_cache_directory('rss/blog');
+ make_cache_directory('rss/blog/'.$type);
$filename = blog_rss_file_name($type, $id, $tagid);
$expandfilename = false; //we're supplying a full file path
remove_dir($CFG->cachedir.'', true);
// make sure cache dir is writable, throws exception if not
- make_upload_directory('cache');
+ make_cache_directory('');
// hack: this script may get called after the purifier was initialised,
// but we do not want to verify repeatedly this exists in each call
- make_upload_directory('cache/htmlpurifier');
+ make_cache_directory('htmlpurifier');
clearstatcache();
}