Update images.lib.php
in fact $dir is not used in the function
This commit is contained in:
parent
ed5ac9c617
commit
972a31ebe9
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user