Commit 30471ef8 authored by dapphp's avatar dapphp
Browse files

Update example config

No related merge requests found
Showing with 22 additions and 3 deletions
+22 -3
...@@ -21,13 +21,21 @@ ...@@ -21,13 +21,21 @@
return array( return array(
/**** CAPTCHA Appearance Options ****/ /**** CAPTCHA Appearance Options ****/
'image_width' => 215, // width of captcha image in pixels 'image_width' => 275, // width of captcha image in pixels
'image_height' => 80, // height of captcha image in pixels 'image_height' => 100, // height of captcha image in pixels
'code_length' => 6, // # of characters for captcha code 'code_length' => 6, // # of characters for captcha code
'image_bg_color' => '#ffffff', // hex color for image background 'image_bg_color' => '#ffffff', // hex color for image background
'text_color' => '#707070', // hex color for captcha text 'text_color' => '#707070', // hex color for captcha text
'line_color' => '#707070', // hex color for lines over text 'line_color' => '#707070', // hex color for lines over text
'num_lines' => 5, // # of lines to draw over text 'noise_color' => '#707070', // color of random noise to draw under text
'num_lines' => 3, // # of lines to draw over text
'noise_level' => 4, // how much random noise to add (0-10)
'perturbation' => 0.7, // distoration level
'use_random_spaces' => true,
'use_random_baseline' => true,
'use_text_angles' => true,
'use_random_boxes' => false,
'wordlist_file' => 'words/words.txt', // text file for word captcha 'wordlist_file' => 'words/words.txt', // text file for word captcha
'use_wordlist' => false, // true to use word list 'use_wordlist' => false, // true to use word list
...@@ -38,6 +46,11 @@ return array( ...@@ -38,6 +46,11 @@ return array(
'ttf_file' => './AHGBold.ttf', // TTF file for captcha text 'ttf_file' => './AHGBold.ttf', // TTF file for captcha text
//'captcha_type' => Securimage::SI_CAPTCHA_WORDS, // Securimage::SI_CAPTCHA_STRING || Securimage:: SI_CAPTCHA_MATHEMATIC || Securimage::SI_CAPTCHA_WORDS
//'display_value' => 'ABC 123', // Draws custom text on captcha
/**** Code Storage & Database Options ****/ /**** Code Storage & Database Options ****/
// true if you *DO NOT* want to use PHP sessions at all, false to use PHP sessions // true if you *DO NOT* want to use PHP sessions at all, false to use PHP sessions
...@@ -65,4 +78,10 @@ return array( ...@@ -65,4 +78,10 @@ return array(
// change to true for performance reasons once database table is up and running // change to true for performance reasons once database table is up and running
'skip_table_check' => false, 'skip_table_check' => false,
/**** Audio Options ****/
//'audio_path' => __DIR__ . '/audio/en/',
//'audio_use_noise' => true,
//'audio_noise_path' => __DIR__ . '/audio/noise/',
//'degrade_audio' => true,
); );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment