Changeset 3016
- Timestamp:
- 07/09/08 16:10:48 (7 weeks ago)
- Location:
- trunk/system
- Files:
-
- 3 modified
-
config/captcha.php (modified) (2 diffs)
-
controllers/captcha.php (modified) (1 diff)
-
libraries/Captcha.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/config/captcha.php
r3015 r3016 8 8 * 9 9 * Group Options: 10 * style - Style driver10 * style - Captcha type, e.g. basic, riddle 11 11 * width - Width of the Captcha image 12 12 * height - Height of the Captcha image … … 19 19 $config['default'] = array 20 20 ( 21 'style' => ' riddle',21 'style' => 'basic', 22 22 'width' => 150, 23 23 'height' => 50, -
trunk/system/controllers/captcha.php
r3015 r3016 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * Outputs the dynamic Captcha image.3 * Outputs the dynamic Captcha resource. 4 4 * Usage: Call the Captcha controller from a view, e.g. 5 5 * <img src="<?php echo url::site('captcha') ?>" /> -
trunk/system/libraries/Captcha.php
r3015 r3016 5 5 * $Id$ 6 6 * 7 * @package C ore7 * @package Captcha 8 8 * @author Kohana Team 9 9 * @copyright (c) 2007-2008 Kohana Team … … 30 30 31 31 /** 32 * Constructs and returns a new Captcha object. 33 * 34 * @param array configuration settings 35 * @return object 36 */ 37 public function factory($config = array()) 38 { 39 return new Captcha($config); 40 } 41 42 /** 32 43 * Constructs a new Captcha object. 33 44 * 34 45 * @throws Kohana_Exception 35 * @param stringconfiguration settings46 * @param array configuration settings 36 47 * @return void 37 48 */
