Update images.lib.php

in fact $dir is not used in the function
This commit is contained in:
BENKE Charlie 2017-01-12 16:03:07 +01:00 committed by GitHub
parent ed5ac9c617
commit 972a31ebe9

View File

@ -81,7 +81,6 @@ function dol_getImageSize($file, $url = false)
// if problem with realpath
if ($fichier == false)
return $ret;
$dir = dirname($file); // Chemin du dossier contenant l'image
}
$infoImg = getimagesize($fichier); // Recuperation des infos de l'image