mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:55:55 +00:00
only try to cache images when cache dir is writable
This commit is contained in:
@@ -678,7 +678,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
if ($cache_images)
|
||||
if ($cache_images && is_writable(CACHE_DIR . '/images'))
|
||||
$entry_content = cache_images($entry_content, $site_url, $debug_enabled);
|
||||
|
||||
if ($_REQUEST["xdebug"] == 2) {
|
||||
|
||||
Reference in New Issue
Block a user