diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/helpers/captcha_helper.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php index 96e8c51a3..bdc3910db 100644 --- a/system/helpers/captcha_helper.php +++ b/system/helpers/captcha_helper.php @@ -101,7 +101,6 @@ if ( ! function_exists('create_captcha')) { $word .= $pool[mt_rand(0, $mt_rand_max)]; } - } // ----------------------------------- @@ -121,10 +120,10 @@ if ( ! function_exists('create_captcha')) // ----------------------------------- // Assign colors // ----------------------------------- - $bg_color = imagecolorallocate ($im, 255, 255, 255); - $border_color = imagecolorallocate ($im, 153, 102, 102); - $text_color = imagecolorallocate ($im, 204, 153, 153); - $grid_color = imagecolorallocate($im, 255, 182, 182); + $bg_color = imagecolorallocate($im, 255, 255, 255); + $border_color = imagecolorallocate($im, 153, 102, 102); + $text_color = imagecolorallocate($im, 204, 153, 153); + $grid_color = imagecolorallocate($im, 255, 182, 182); $shadow_color = imagecolorallocate($im, 255, 240, 240); // Create the rectangle |