summaryrefslogtreecommitdiffstats
path: root/system/plugins
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-05-05 18:39:18 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-05-05 18:39:18 +0200
commit7327499064ae165468c7440f8571c3e570b58a0b (patch)
tree4f0d0053e7d25f7064c63070edcbc3af114abed9 /system/plugins
parent7539f67a23c8536f892263d8d7ab9448655d8e22 (diff)
Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to the File Helper.
Changed ( ! condition) into (! condition) within the code
Diffstat (limited to 'system/plugins')
-rw-r--r--system/plugins/captcha_pi.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/plugins/captcha_pi.php b/system/plugins/captcha_pi.php
index 50a4eae0d..309ef7ea5 100644
--- a/system/plugins/captcha_pi.php
+++ b/system/plugins/captcha_pi.php
@@ -157,16 +157,16 @@ function create_captcha($data = '', $img_path = '', $img_url = '', $font_path =
foreach ($defaults as $key => $val)
{
- if ( ! is_array($data))
+ if (! is_array($data))
{
- if ( ! isset($$key) OR $$key == '')
+ if (! isset($$key) OR $$key == '')
{
$$key = $val;
}
}
else
{
- $$key = ( ! isset($data[$key])) ? $val : $data[$key];
+ $$key = (! isset($data[$key])) ? $val : $data[$key];
}
}
@@ -175,17 +175,17 @@ function create_captcha($data = '', $img_path = '', $img_url = '', $font_path =
return FALSE;
}
- if ( ! @is_dir($img_path))
+ if (! @is_dir($img_path))
{
return FALSE;
}
- if ( ! is_really_writable($img_path))
+ if (! is_really_writable($img_path))
{
return FALSE;
}
- if ( ! extension_loaded('gd'))
+ if (! extension_loaded('gd'))
{
return FALSE;
}