Debug v21
This commit is contained in:
parent
d404ab6322
commit
9bf090b263
1 changed files with 5 additions and 0 deletions
|
|
@ -266,6 +266,11 @@ if ($rss) {
|
|||
exit;
|
||||
}
|
||||
|
||||
// For backward compatibility of old thumbs that were created with filename in lower case and with .png extension
|
||||
if (image_format_supported($fullpath_original_file) && !dol_is_file($fullpath_original_file)) {
|
||||
$fullpath_original_file = getImageFileNameForSize($fullpath_original_file, '', '.png');
|
||||
}
|
||||
|
||||
clearstatcache();
|
||||
|
||||
$filename = basename($fullpath_original_file);
|
||||
|
|
|
|||
Loading…
Reference in a new issue