diff options
| author | Henry Sudhof <kellanved@phpbb.com> | 2008-05-28 13:05:45 +0000 |
|---|---|---|
| committer | Henry Sudhof <kellanved@phpbb.com> | 2008-05-28 13:05:45 +0000 |
| commit | 91b4fe1868ca2c4d81111943f781e3cfd0262ef2 (patch) | |
| tree | 3c41b59d9938c5fa5e06b7b1c2d2b95b33437e3f /phpBB/install/database_update.php | |
| parent | 28e8c3ea8587f7dc2d37068a92ebd9d0dfc230c6 (diff) | |
| download | forums-91b4fe1868ca2c4d81111943f781e3cfd0262ef2.tar forums-91b4fe1868ca2c4d81111943f781e3cfd0262ef2.tar.gz forums-91b4fe1868ca2c4d81111943f781e3cfd0262ef2.tar.bz2 forums-91b4fe1868ca2c4d81111943f781e3cfd0262ef2.tar.xz forums-91b4fe1868ca2c4d81111943f781e3cfd0262ef2.zip | |
Merging mime and referer checks into the Trunk
git-svn-id: file:///svn/phpbb/trunk@8571 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
| -rw-r--r-- | phpBB/install/database_update.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index c0b59ecd5c..277fc055df 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -1112,10 +1112,15 @@ function change_database_data($version) _sql($sql, $errored, $error_ary); } } - - // TODO: remove all form token min times break; + + 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'); + } } |
