mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-21 00:41:29 +01:00
Update images.lib.php
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user