Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add .cache extension

  • Loading branch information...
commit aad7570fd9ca1c23b46db5a1eaa9a8c60aeda2e9 1 parent 4f5a780
@haraldpdl haraldpdl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  catalog/admin/includes/classes/rss.php
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.