diff --git a/Filesystem.php b/Filesystem.php index 95e4a8010..e20972cae 100644 --- a/Filesystem.php +++ b/Filesystem.php @@ -695,7 +695,9 @@ public function dumpFile($filename, $content) $this->rename($tmpFile, $filename, true); } finally { - @unlink($tmpFile); + if (file_exists($tmpFile)) { + @unlink($tmpFile); + } } }