Explorar el Código

Update:修复变量问题

Jinhui Zhu hace 5 años
padre
commit
d6fc48a0d3
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/Library/Image.php

+ 2 - 2
src/Library/Image.php

@@ -211,8 +211,8 @@ class Image
 		}
 		ini_set("memory_limit", "128M");
 		//大图文件地址,缩略宽,缩略高,小图地址
-		$imgage = getimagesize($bigImg);//获取大图信息
-		switch ($imgage[2]) {//判断图像类型
+        $image = getimagesize($bigImg);//获取大图信息
+		switch ($image[2]) {//判断图像类型
 			case 1:
 				$im = imagecreatefromgif($bigImg);
 				break;