only try to cache images when cache dir is writable

master
Andrew Dolgov 13 years ago
parent 3c696512fc
commit c58677987b

@ -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) {

Loading…
Cancel
Save