diff options
author | Andrew Dolgov <[email protected]> | 2012-01-12 12:52:55 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-01-12 12:52:55 +0400 |
commit | b8379e69792d41c62fa656ebbfb159fabe2e633d (patch) | |
tree | 0dd7e0b82d89a4a76d1a36b2960d79e283525f2f | |
parent | 5a68552b6bbf323397116d307b263bd4f8a8ee33 (diff) |
cache_images: set a lower size limit for stuff to cache
-rw-r--r-- | include/rssfuncs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 5502c9f50..96e8cbd44 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -1335,7 +1335,7 @@ if (!file_exists($local_filename)) { $file_content = fetch_file_contents($src); - if ($file_content) { + if ($file_content && strlen($file_content) > 1024) { file_put_contents($local_filename, $file_content); } } |