Update images.lib.php

This commit is contained in:
BENKE Charlie
2016-12-23 07:11:35 +01:00
committed by GitHub
parent 6544175cf2
commit ed5ac9c617

View File

@@ -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;