Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
Securimage
Commits
30471ef8
Commit
30471ef8
authored
7 years ago
by
dapphp
Browse files
Options
Download
Patches
Plain Diff
Update example config
parent
8c40bb16
master
nextgen
4.0.2
3.6.8
3.6.7
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config.inc.php.SAMPLE
+22
-3
config.inc.php.SAMPLE
with
22 additions
and
3 deletions
+22
-3
config.inc.php.SAMPLE
+
22
−
3
View file @
30471ef8
...
@@ -21,13 +21,21 @@
...
@@ -21,13 +21,21 @@
return
array
(
return
array
(
/**** CAPTCHA Appearance Options ****/
/**** CAPTCHA Appearance Options ****/
'image_width'
=>
2
1
5
,
// width of captcha image in pixels
'image_width'
=>
2
7
5
,
// width of captcha image in pixels
'image_height'
=>
8
0
,
// height of captcha image in pixels
'image_height'
=>
10
0
,
// 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,
);
);
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets