shish 6 лет назад
Родитель
Сommit
f55f8b763e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      common/services/ImageService.php

+ 1 - 1
common/services/ImageService.php

@@ -43,7 +43,7 @@ class ImageService
 			$smallWidth = $width;
 			$smallHeight = $height;
 		}
-		$smallFullPathFile = $path . $middleName . '_small.' . '.jpg';
+		$smallFullPathFile = $path .'/'. $middleName . '_small.' . '.jpg';
 		Image::thumbnail($fullFileName, $smallWidth, $smallHeight)->save($smallFullPathFile, ['quality' => 100]);
 		return $fileName;
 	}