shish 6 rokov pred
rodič
commit
ae44e764f5
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      common/components/business.php

+ 2 - 2
common/components/business.php

@@ -62,7 +62,7 @@ class business
 			$smallImg = self::getSmallImg($imgUrl);
 			$small = $prefixImgUrl . $smallImg;
 			$normal = $prefixImgUrl . $imgUrl;
-			
+			/*
 						$preImg = $imageRoot . str_replace('/uploads', '', $imgUrl);
 						if (file_exists($preImg)) {
 							//没有小图则生成小图,兼容旧系统
@@ -77,7 +77,7 @@ class business
 								Image::thumbnail($preImg, $smallWidth, $smallHeight)->save($smallFullPathFile, ['quality' => 100]);
 							}
 						}
-			
+			*/
 			$imgList[] = $normal;
 			$smallImgList[] = $small;
 		}