summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-26 17:41:59 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-26 17:41:59 +0100
commit382b51383c84fbb7f861fcd87b0b71b35c9f2869 (patch)
tree9aa8bf35189e3a7f4a8a6923bafba758d15aa90b /system/core
parentea41c8aa1951216b6a9ccc99832d69d2b41c5ead (diff)
Don't use error suppression on is_dir(), file_exists()
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Output.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Output.php b/system/core/Output.php
index d494d0080..7a35b02da 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -639,7 +639,7 @@ class CI_Output {
$uri = $CFG->item('base_url').$CFG->item('index_page').$URI->uri_string;
$filepath = $cache_path.md5($uri);
- if ( ! @file_exists($filepath) OR ! $fp = @fopen($filepath, FOPEN_READ))
+ if ( ! file_exists($filepath) OR ! $fp = @fopen($filepath, FOPEN_READ))
{
return FALSE;
}