[-] Installer : #PSCFV-3603 - loop while loading logo

This commit is contained in:
mDeflotte
2012-08-14 09:12:20 +00:00
parent ac44d779db
commit 06aa7e859c
+1 -1
View File
@@ -118,7 +118,7 @@ class InstallControllerHttpConfigure extends InstallControllerHttp
if (!$tmp_name || !move_uploaded_file($file['tmp_name'], $tmp_name))
return false;
list($width, $height, $type) = getimagesize($file['tmp_name']);
list($width, $height, $type) = getimagesize($tmp_name);
$newheight = ($height > 500) ? 500 : $height;
$percent = $newheight / $height;