change feed cache file extension

This commit is contained in:
Andrew Dolgov 2013-05-02 01:33:00 +04:00
parent 8a95d630a9
commit 865a3ed6a0
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@
$date_feed_processed = date('Y-m-d H:i'); $date_feed_processed = date('Y-m-d H:i');
$cache_filename = CACHE_DIR . "/simplepie/" . sha1($fetch_url) . ".feed2"; $cache_filename = CACHE_DIR . "/simplepie/" . sha1($fetch_url) . ".xml";
// Ignore cache if new feed or manual update. // Ignore cache if new feed or manual update.
$cache_age = ($no_cache || is_null($last_updated) || strpos($last_updated, '1970-01-01') === 0) ? 30 : get_feed_update_interval($feed) * 60; $cache_age = ($no_cache || is_null($last_updated) || strpos($last_updated, '1970-01-01') === 0) ? 30 : get_feed_update_interval($feed) * 60;