hide error, as we have made best effort for this.
authorAlan <alan@roojs.com>
Thu, 31 Mar 2022 02:06:52 +0000 (10:06 +0800)
committerAlan <alan@roojs.com>
Thu, 31 Mar 2022 02:06:52 +0000 (10:06 +0800)
File/Convert/Solution/pdftocairo.php

index 9ea200f..02691ef 100644 (file)
@@ -138,7 +138,7 @@ class File_Convert_Solution_pdftocairo extends File_Convert_Solution
         $fe = file_exists($out)  && filesize($out) ? true : false;
         if ($fe) {
             $this->debug("GOT conv file: renaming $out to $target");
-            rename($out, $target);
+            @rename($out, $target); // hide this as we still seem to get errors even after clearstat/file_exists..
             @chmod($target,fileperms($fn));
             return $target;