queit out rename
authorAlan <alan@roojs.com>
Wed, 30 Mar 2022 02:03:30 +0000 (10:03 +0800)
committerAlan <alan@roojs.com>
Wed, 30 Mar 2022 02:03:30 +0000 (10:03 +0800)
File/Convert/Solution/pdftocairo.php

index e28bee7..9ea200f 100644 (file)
@@ -117,7 +117,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);   // we do a clearstatcache, and file exists - but this still triggers errror
             
             @chmod($target,fileperms($fn));