summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-01-12 12:52:55 +0400
committerAndrew Dolgov <[email protected]>2012-01-12 12:52:55 +0400
commitb8379e69792d41c62fa656ebbfb159fabe2e633d (patch)
tree0dd7e0b82d89a4a76d1a36b2960d79e283525f2f /include
parent5a68552b6bbf323397116d307b263bd4f8a8ee33 (diff)
cache_images: set a lower size limit for stuff to cache
Diffstat (limited to 'include')
-rw-r--r--include/rssfuncs.php2
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);
}
}