diff options
author | Andrey Andreev <narf@devilix.net> | 2014-05-08 22:25:08 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-05-08 22:25:08 +0200 |
commit | c402865740a077bffb4eebd07335b64ca006c48a (patch) | |
tree | 6e682e6ba7b15b1c103e1622ed7da47940bbfa48 /system/helpers | |
parent | dc134a8a0e900d0e369ba35749e9530028832cbb (diff) | |
parent | f039c9f901ae917579f6510c5e9c6b29d9a92959 (diff) |
Merge pull request #3041 from egig/develop
Prepare image url.
Diffstat (limited to 'system/helpers')
-rw-r--r-- | system/helpers/captcha_helper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php index 78eac4be0..74ab24ffb 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 = '<img src="'.$img_url.$img_filename.'" style="width: '.$img_width.'; height: '.$img_height .'; border: 0;" alt=" " />'; |