commit | 596c51cdca8d623c96243a81bc5212d34f820a97 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Thu Jun 07 15:51:58 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Thu Jun 07 15:51:58 2012 +0300 |
tree | 6ec2236d9437f5db5370c5808133d88d7509aa3e | |
parent | d09ff35e8c4b7cae6313cc40ec0e6b57b9f52106 [diff] [blame] |
Suppress errors from file_get_contents() in read_file()
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php index b717aaa..be616f6 100644 --- a/system/helpers/file_helper.php +++ b/system/helpers/file_helper.php
@@ -52,7 +52,7 @@ */ function read_file($file) { - return file_get_contents($file); + return @file_get_contents($file); } }