summaryrefslogtreecommitdiff
path: root/kohana/config/captcha.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-10-31 22:12:14 +0000
committerBharat Mediratta <bharat@menalto.com>2008-10-31 22:12:14 +0000
commiteba717f95f586d2538007bd18da6e9b32b076c30 (patch)
tree15fc596a270f9de0d163c66c96e3c65fca5ee100 /kohana/config/captcha.php
parentfff10f8b70376ef25722bd867df26bc5aefced43 (diff)
Merge over vendor code.
git-svn-id: http://gallery.svn.sourceforge.net/svnroot/gallery/trunk/eval/gx/gallery3/trunk@18408 57fcd75e-5312-0410-8df3-f5eb6fbb1595
Diffstat (limited to 'kohana/config/captcha.php')
-rw-r--r--kohana/config/captcha.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/kohana/config/captcha.php b/kohana/config/captcha.php
new file mode 100644
index 00000000..a1d64c2e
--- /dev/null
+++ b/kohana/config/captcha.php
@@ -0,0 +1,29 @@
+<?php defined('SYSPATH') or die('No direct access allowed.');
+/**
+ * @package Core
+ *
+ * Captcha configuration is defined in groups which allows you to easily switch
+ * between different Captcha settings for different forms on your website.
+ * Note: all groups inherit and overwrite the default group.
+ *
+ * Group Options:
+ * style - Captcha type, e.g. basic, alpha, word, math, riddle
+ * width - Width of the Captcha image
+ * height - Height of the Captcha image
+ * complexity - Difficulty level (0-10), usage depends on chosen style
+ * background - Path to background image file
+ * fontpath - Path to font folder
+ * fonts - Font files
+ * promote - Valid response count threshold to promote user (FALSE to disable)
+ */
+$config['default'] = array
+(
+ 'style' => 'basic',
+ 'width' => 150,
+ 'height' => 50,
+ 'complexity' => 4,
+ 'background' => '',
+ 'fontpath' => SYSPATH.'fonts/',
+ 'fonts' => array('DejaVuSerif.ttf'),
+ 'promote' => FALSE,
+); \ No newline at end of file