From 88c6bba4e6f5184a8a7349728b8250b8030d0706 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sun, 15 Jul 2007 15:06:08 +0000 Subject: changed ImageColorAllocate to imagecolorallocate --- system/plugins/captcha_pi.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/plugins') diff --git a/system/plugins/captcha_pi.php b/system/plugins/captcha_pi.php index e16a214b6..7d1694f2e 100644 --- a/system/plugins/captcha_pi.php +++ b/system/plugins/captcha_pi.php @@ -250,9 +250,9 @@ function create_captcha($data = '', $img_path = '', $img_url = '', $font_path = // Assign colors // ----------------------------------- - $bg_color = ImageColorAllocate($im, 255, 255, 255); - $border_color = ImageColorAllocate($im, 153, 102, 102); - $text_color = ImageColorAllocate($im, 204, 153, 153); + $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); -- cgit v1.2.3-24-g4f1b