summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-07 14:11:56 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-07 14:11:56 +0100
commitc697a3bfdfc301718058a09fd5692fbecee6920a (patch)
treeb0f2b31165f6b0dfacfd778ba50286373e7ab9c5
parent8c7138a7cc6a9a855fc10763afb2571d7f1cec75 (diff)
Use is_really_writable() in captcha helper
-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 24cd53568..b61b2d5cf 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_writeable($img_path)
+ OR ! @is_dir($img_path) OR ! is_really_writable($img_path)
OR ! extension_loaded('gd'))
{
return FALSE;