]> _ Git - cubist_util.git/commitdiff
wait #5399 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 Jun 2023 16:06:56 +0000 (18:06 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 Jun 2023 16:06:56 +0000 (18:06 +0200)
src/Files/VirtualDirectory.php

index 607a2fc5ce2009f29278f63692b95920504dd94d..772eac31ac72fe8942fe9d0e856a4b88b67974fd 100644 (file)
@@ -140,7 +140,7 @@ class VirtualDirectory
             }
             $path = $file->getRealPath();
             if (!isset($existing[$path]) && file_exists($path)) {
-                unlink($path);
+                @unlink($path);
             }
         }
     }
@@ -162,7 +162,7 @@ class VirtualDirectory
     {
         foreach ($this->_tmp as $tmp) {
             if (is_file($tmp)) {
-                unlink($tmp);
+                @unlink($tmp);
             }
             if (is_dir($tmp)) {
                 Files::rmdir($tmp);