function parser_simplepie_update_1 in FeedAPI 5
File
- parser_simplepie/
parser_simplepie.install, line 43
Code
function parser_simplepie_update_1() {
$path_to_files = file_create_path(file_directory_path() . '/simplepie_cache');
if (!file_exists($path_to_files)) {
mkdir($path_to_files);
}
if (!is_writeable($path_to_files)) {
return FALSE;
}
variable_set('parser_simplepie_cache', $path_to_files);
return array();
}