summaryrefslogtreecommitdiffstats
path: root/system/helpers/captcha_helper.php
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/helpers/captcha_helper.php
parentea41c8aa1951216b6a9ccc99832d69d2b41c5ead (diff)
Don't use error suppression on is_dir(), file_exists()
Diffstat (limited to 'system/helpers/captcha_helper.php')
-rw-r--r--system/helpers/captcha_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php
index 13926774e..78eac4be0 100644
--- a/system/helpers/captcha_helper.php
+++ b/system/helpers/captcha_helper.php
@@ -82,7 +82,7 @@ if ( ! function_exists('create_captcha'))
}
if ($img_path === '' OR $img_url === ''
- OR ! @is_dir($img_path) OR ! is_really_writable($img_path)
+ OR ! is_dir($img_path) OR ! is_really_writable($img_path)
OR ! extension_loaded('gd'))
{
return FALSE;