From 225f53b7da4f7c4154c21fd8d11659d4fd8277d5 Mon Sep 17 00:00:00 2001 From: egig Date: Thu, 8 May 2014 10:34:35 +0700 Subject: Prepare image url. --- system/helpers/captcha_helper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'system') diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php index 78eac4be0..131879c9f 100644 --- a/system/helpers/captcha_helper.php +++ b/system/helpers/captcha_helper.php @@ -215,6 +215,7 @@ if ( ! function_exists('create_captcha')) // ----------------------------------- // Generate the image // ----------------------------------- + $img_url = rtrim($img_url, '/').'/'; $img_filename = $now.'.jpg'; ImageJPEG($im, $img_path.$img_filename); $img = ' '; @@ -225,4 +226,4 @@ if ( ! function_exists('create_captcha')) } /* End of file captcha_helper.php */ -/* Location: ./system/helpers/captcha_helper.php */ \ No newline at end of file +/* Location: ./system/helpers/captcha_helper.php */ -- cgit v1.2.3-24-g4f1b From f039c9f901ae917579f6510c5e9c6b29d9a92959 Mon Sep 17 00:00:00 2001 From: egig Date: Fri, 9 May 2014 03:10:05 +0700 Subject: Removed empty line --- system/helpers/captcha_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php index 131879c9f..74ab24ffb 100644 --- a/system/helpers/captcha_helper.php +++ b/system/helpers/captcha_helper.php @@ -226,4 +226,4 @@ if ( ! function_exists('create_captcha')) } /* End of file captcha_helper.php */ -/* Location: ./system/helpers/captcha_helper.php */ +/* Location: ./system/helpers/captcha_helper.php */ \ No newline at end of file -- cgit v1.2.3-24-g4f1b