Show
Ignore:
Timestamp:
07/11/2008 02:31:08 AM (5 months ago)
Author:
Geert
Message:

Symplifying Captcha background and font config settings

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/config/captcha.php

    r3032 r3046  
    88 * 
    99 * 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 - Path to folder in which background image reside 
    15  *  background_file - Image file name 
    16  *  font_path       - Path to folder in which fonts reside 
    17  *  font_file       - Font file name 
     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 *  font       - Path to font file 
    1816 */ 
    1917$config['default'] = array 
    2018( 
    21         'style'           => 'basic', 
    22         'width'           => 150, 
    23         'height'          => 50, 
    24         'complexity'      => 4, 
    25         'background_path' => '', 
    26         'background_file' => '', 
    27         'font_path'       => SYSPATH.'fonts/', 
    28         'font_file'       => 'DejaVuSerif.ttf', 
     19        'style'      => 'basic', 
     20        'width'      => 150, 
     21        'height'     => 50, 
     22        'complexity' => 4, 
     23        'background' => '', 
     24        'font'       => SYSPATH.'fonts/DejaVuSerif.ttf', 
    2925);