aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/constants.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-05-15 13:29:14 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-05-15 13:29:14 +0000
commit9413af5e1a59a9bfc01fb5d3896a2fb5d34055f4 (patch)
treec3e3d93706bbf09bbc1451f14102ed85ae2af895 /phpBB/includes/constants.php
parentae3dd106049e0b7429719862c82250ad2d28ffd7 (diff)
downloadforums-9413af5e1a59a9bfc01fb5d3896a2fb5d34055f4.tar
forums-9413af5e1a59a9bfc01fb5d3896a2fb5d34055f4.tar.gz
forums-9413af5e1a59a9bfc01fb5d3896a2fb5d34055f4.tar.bz2
forums-9413af5e1a59a9bfc01fb5d3896a2fb5d34055f4.tar.xz
forums-9413af5e1a59a9bfc01fb5d3896a2fb5d34055f4.zip
So, tighten things up a little further. QA Team, please check this.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8554 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/constants.php')
-rw-r--r--phpBB/includes/constants.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php
index eb4eb77f22..7c681a4040 100644
--- a/phpBB/includes/constants.php
+++ b/phpBB/includes/constants.php
@@ -171,6 +171,11 @@ define('FIELD_BOOL', 4);
define('FIELD_DROPDOWN', 5);
define('FIELD_DATE', 6);
+// referer validation
+define('REFERER_VALIDATE_NONE', 0);
+define('REFERER_VALIDATE_HOST', 1);
+define('REFERER_VALIDATE_PATH', 2);
+
// Additional constants
define('VOTE_CONVERTED', 127);