Permalink
Browse files

add .cache extension

  • Loading branch information...
1 parent 4f5a780 commit aad7570fd9ca1c23b46db5a1eaa9a8c60aeda2e9 @haraldpdl haraldpdl committed Feb 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/admin/includes/classes/rss.php
@@ -56,7 +56,7 @@ class lastRSS {
function Get ($rss_url) {
// If CACHE ENABLED
if ($this->cache_dir != '') {
- $cache_file = $this->cache_dir . '/rsscache_' . md5($rss_url);
+ $cache_file = $this->cache_dir . '/rss_' . md5($rss_url) . '.cache';
$timedif = @(time() - filemtime($cache_file));
if ($timedif < $this->cache_time) {
// cached file is fresh enough, return cached array

0 comments on commit aad7570

Please sign in to comment.