aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-05-15 14:10:11 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-05-15 14:10:11 +0000
commitfc12c0021961f369090a3ea9fdcd62ef4d51505e (patch)
treed0e0b7b822341ee63c41bcc7eb2db823bdd0163b /phpBB/install/database_update.php
parent9413af5e1a59a9bfc01fb5d3896a2fb5d34055f4 (diff)
downloadforums-fc12c0021961f369090a3ea9fdcd62ef4d51505e.tar
forums-fc12c0021961f369090a3ea9fdcd62ef4d51505e.tar.gz
forums-fc12c0021961f369090a3ea9fdcd62ef4d51505e.tar.bz2
forums-fc12c0021961f369090a3ea9fdcd62ef4d51505e.tar.xz
forums-fc12c0021961f369090a3ea9fdcd62ef4d51505e.zip
And more new features for reasonable paranoia.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8555 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index bead1cad93..94ccf75ecd 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -1736,14 +1736,15 @@ function change_database_data($version)
_sql($sql, $errored, $error_ary);
}
}
-
- // TODO: remove all form token min times
break;
-
- case '3.0.1':
+ case '3.0.1':
+
set_config('referer_validation', '1');
+ set_config('check_attachment_content', '1');
+ set_config('mime_triggers', 'body|head|html|img|plaintext|a href|pre|script|table|title');
+
}
}