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

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