aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/constants.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-04-11 09:11:08 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-04-11 09:11:08 +0000
commitcda9e5e9ec0dfe9c3e0a04809ffc5d0099020046 (patch)
tree930f31bbe5c1fe8f0707a1b2059cefbac0c1d484 /phpBB/includes/constants.php
parenta4c1de46b79c196dc7da2e5b9242deb6c55bdb6f (diff)
downloadforums-cda9e5e9ec0dfe9c3e0a04809ffc5d0099020046.tar
forums-cda9e5e9ec0dfe9c3e0a04809ffc5d0099020046.tar.gz
forums-cda9e5e9ec0dfe9c3e0a04809ffc5d0099020046.tar.bz2
forums-cda9e5e9ec0dfe9c3e0a04809ffc5d0099020046.tar.xz
forums-cda9e5e9ec0dfe9c3e0a04809ffc5d0099020046.zip
a language alteration for captchas.
Added min/max captcha chars constants and changed the length from 5-8 to 4-7 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9437 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/constants.php')
-rw-r--r--phpBB/includes/constants.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php
index 2210b6f8a5..da21c8d730 100644
--- a/phpBB/includes/constants.php
+++ b/phpBB/includes/constants.php
@@ -185,6 +185,10 @@ define('REFERER_VALIDATE_PATH', 2);
@define('CHMOD_WRITE', 2);
@define('CHMOD_EXECUTE', 1);
+// Captcha code length
+define('CAPTCHA_MIN_CHARS', 4);
+define('CAPTCHA_MAX_CHARS', 7);
+
// Additional constants
define('VOTE_CONVERTED', 127);