comparison mconfig.inc.php.example @ 1089:00632d30bafe

Implement new settings for making user/votekeys case-insensitive and setting the array of characters used for generating keys in the config.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 26 Jan 2017 01:27:32 +0200
parents 48e16e856646
children 95b74632cfe2
comparison
equal deleted inserted replaced
1088:4f132374df75 1089:00632d30bafe
24 "debug" => false, 24 "debug" => false,
25 25
26 // Default page 26 // Default page
27 "defaultPage" => "about", // Default page 27 "defaultPage" => "about", // Default page
28 28
29 // Vote key length in characters 29 // User key/votekey settings
30 "userKeyLength" => 8, 30 "userKeyLength" => 6, // Vote key length in characters
31 //"userKeyCase" => true, // If false, keys are case-INsensitive
32 //"userKeyChars" => "abdefghjkmnpqrstwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789", // Characters to be used for key generation
31 33
32 // Voting settings 34 // Voting settings
33 "voteMin" => -1, 35 "voteMin" => -1,
34 "voteMax" => 2, 36 "voteMax" => 2,
35 37