Révision 41cc1b08
Ajouté par Assos Assos il y a presque 9 ans
drupal7/sites/all/modules/feeds/libraries/common_syndication_parser.inc | ||
---|---|---|
38 | 38 |
return FALSE; |
39 | 39 |
} |
40 | 40 |
|
41 |
/** |
|
42 |
* Get the cached version of the <var>$url</var> |
|
43 |
*/ |
|
44 |
function _parser_common_syndication_cache_get($url) { |
|
45 |
$cache_file = _parser_common_syndication_sanitize_cache() . '/' . md5($url); |
|
46 |
if (file_exists($cache_file)) { |
|
47 |
$file_content = file_get_contents($cache_file); |
|
48 |
return unserialize($file_content); |
|
49 |
} |
|
50 |
return FALSE; |
|
51 |
} |
|
52 |
|
|
53 | 41 |
/** |
54 | 42 |
* Determine the feed format of a SimpleXML parsed object structure. |
55 | 43 |
* |
Formats disponibles : Unified diff
Update feeds 7.x-2.0-alpha9 -> 7.x-2.0-beta1
Install lib simplepie 1.3.1