root/trunk/system/config/captcha.php

Revision 3326, 0.9 kB (checked in by Shadowhand, 2 months ago)

Core cleanup:

  • Removed SYSPATH check from all files
  • Changed copyrights to 2007-2008 where they had not been updated
  • Started to add @example doc comments
  • Property svn:eol-style set to LF
  • Property copyright set to Copyright (c) 2008 Kohana Team
  • Property svn:keywords set to Id
Line 
1<?php
2/**
3 * @package  Core
4 *
5 * Captcha configuration is defined in groups which allows you to easily switch
6 * between different Captcha settings for different forms on your website.
7 * Note: all groups inherit and overwrite the default group.
8 *
9 * Group Options:
10 *  style      - Captcha type, e.g. basic, alpha, word, math, riddle
11 *  width      - Width of the Captcha image
12 *  height     - Height of the Captcha image
13 *  complexity - Difficulty level (0-10), usage depends on chosen style
14 *  background - Path to background image file
15 *  fontpath   - Path to font folder
16 *  fonts      - Font files
17 *  promote    - Valid response count threshold to promote user (FALSE to disable)
18 */
19$config['default'] = array
20(
21    'style'      => 'basic',
22    'width'      => 150,
23    'height'     => 50,
24    'complexity' => 4,
25    'background' => '',
26    'fontpath'   => SYSPATH.'fonts/',
27    'fonts'      => array('DejaVuSerif.ttf'),
28    'promote'    => FALSE,
29);
Note: See TracBrowser for help on using the browser.