rabin 6 년 전
부모
커밋
c21940ba19
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      lib/Img.php

+ 2 - 1
lib/Img.php

@@ -51,7 +51,8 @@ class Img
         }
         $file =  Dever::pathDay('upload/poster', false) . md5($filename) . '.jpg';
 
-        if (!is_file($file) || $update == 1) {
+        //if (!is_file($file) || $update == 1) {
+        if (!is_file($file)) {
             $this->img->setType($type);
             $result = $this->img->init($config['background'], $config['param'], true, $file);
             if ($result) {