From: Vincent Vanwaelscappel Date: Mon, 26 Jun 2023 16:06:56 +0000 (+0200) Subject: wait #5399 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ea52530ebea484968b6b1c6d8ebc7152f92cebc3;p=cubist_util.git wait #5399 @0.25 --- diff --git a/src/Files/VirtualDirectory.php b/src/Files/VirtualDirectory.php index 607a2fc..772eac3 100644 --- a/src/Files/VirtualDirectory.php +++ b/src/Files/VirtualDirectory.php @@ -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);