Swallow errors on stat in FilesystemSource.

This commit is contained in:
Justin Hileman
2017-07-03 00:16:38 -07:00
parent 89987ac890
commit 7434e97df5
+1 -1
View File
@@ -50,7 +50,7 @@ class Mustache_Source_FilesystemSource implements Mustache_Source
if (!empty($this->statProps)) { if (!empty($this->statProps)) {
if (!isset($this->stat)) { if (!isset($this->stat)) {
$this->stat = stat($this->fileName); $this->stat = @stat($this->fileName);
} }
if ($this->stat === false) { if ($this->stat === false) {