mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-11 12:01:23 +01:00
Debug v21
This commit is contained in:
@@ -266,6 +266,11 @@ if ($rss) {
|
|||||||
exit;
|
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();
|
clearstatcache();
|
||||||
|
|
||||||
$filename = basename($fullpath_original_file);
|
$filename = basename($fullpath_original_file);
|
||||||
|
|||||||
Reference in New Issue
Block a user