summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-07-15 17:06:08 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-07-15 17:06:08 +0200
commit88c6bba4e6f5184a8a7349728b8250b8030d0706 (patch)
tree296c4944d3deeb753636a864267bbc8d042c43b2 /system
parent060052de1f91b9b1fc533d0957eb18dab9057bfe (diff)
changed ImageColorAllocate to imagecolorallocate
Diffstat (limited to 'system')
-rw-r--r--system/plugins/captcha_pi.php6
1 files changed, 3 insertions, 3 deletions
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);