aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 97c02d4a23..882e782ebb 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -200,6 +200,9 @@ require(PHPBB_ROOT_PATH . 'includes/utf/utf_tools.' . PHP_EXT);
// Set PHP error handler to ours
set_error_handler(defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handler');
+// enforce the use of the request class
+request::disable_super_globals();
+
// Instantiate some basic classes
$user = new user();
$auth = new auth();