1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-20 11:16:36 +02:00

cache_images: set a lower size limit for stuff to cache

This commit is contained in:
Andrew Dolgov 2012-01-12 12:52:55 +04:00
parent 5a68552b6b
commit b8379e6979

View File

@ -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);
}
}