From b8379e69792d41c62fa656ebbfb159fabe2e633d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 12 Jan 2012 12:52:55 +0400 Subject: [PATCH] cache_images: set a lower size limit for stuff to cache --- include/rssfuncs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 5502c9f5..96e8cbd4 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); } } -- 2.39.5