Update images.lib.php
This commit is contained in:
parent
6544175cf2
commit
ed5ac9c617
@ -77,7 +77,7 @@ function dol_getImageSize($file, $url = false)
|
|||||||
$fichier = $file;
|
$fichier = $file;
|
||||||
if (!$url)
|
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 problem with realpath
|
||||||
if ($fichier == false)
|
if ($fichier == false)
|
||||||
return $ret;
|
return $ret;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user