mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 09:08:09 +01:00
Update images.lib.php
This commit is contained in:
@@ -77,7 +77,7 @@ function dol_getImageSize($file, $url = false)
|
||||
$fichier = $file;
|
||||
if (!$url)
|
||||
{
|
||||
$fichier = realpath($file); // Chemin canonique absolu de l'image
|
||||
$fichier = realpath(dol_osencode($file)); // Chemin canonique absolu de l'image
|
||||
// if problem with realpath
|
||||
if ($fichier == false)
|
||||
return $ret;
|
||||
|
||||
Reference in New Issue
Block a user