rabin před 6 roky
rodič
revize
c21940ba19
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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) {