summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/helpers
diff options
context:
space:
mode:
authorash <ashleybaker@gmail.com>2013-04-10 13:40:31 +0200
committerash <ashleybaker@gmail.com>2013-04-10 13:40:31 +0200
commit3fd9bf8777d6aea531a765f4bc0d995d24395221 (patch)
tree72319098fe5290f5a078d28b881307b333353ef9 /user_guide_src/source/helpers
parent79dfac7d2b8628d114b02493aa842acd39d39ede (diff)
Updated documenation
Diffstat (limited to 'user_guide_src/source/helpers')
-rw-r--r--user_guide_src/source/helpers/captcha_helper.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/user_guide_src/source/helpers/captcha_helper.rst b/user_guide_src/source/helpers/captcha_helper.rst
index 17462a8de..598fdb4c6 100644
--- a/user_guide_src/source/helpers/captcha_helper.rst
+++ b/user_guide_src/source/helpers/captcha_helper.rst
@@ -62,7 +62,9 @@ Once loaded you can generate a captcha like this::
'font_path' => './path/to/fonts/texb.ttf',
'img_width' => '150',
'img_height' => 30,
- 'expiration' => 7200
+ 'expiration' => 7200,
+ 'captcha_word_length' => 8,
+ 'character_pool_for_generated_word' => '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
);
$cap = create_captcha($vals);
@@ -140,4 +142,4 @@ this::
if ($row->count == 0)
{     
echo 'You must submit the word that appears in the image.';
- } \ No newline at end of file
+ }