Merge pull request #624 from zsilbi/file-contents-fix

File contents fix
This commit is contained in:
Denis Sokolov
2019-06-21 11:55:31 +03:00
committed by GitHub
+5 -1
View File
@@ -119,7 +119,11 @@ class Frame implements Serializable
return null;
}
$this->fileContentsCache = file_get_contents($filePath);
try {
$this->fileContentsCache = file_get_contents($filePath);
} catch (ErrorException $exception) {
// Internal file paths of PHP extensions cannot be opened
}
}
return $this->fileContentsCache;