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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16841 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-08-14 09:12:20 +00:00
parent 4963d29389
commit 42ed7b598d
+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;