aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/index.php')
-rw-r--r--phpBB/install/index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index 3e4331cde5..5862e2e8d2 100644
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -171,10 +171,11 @@ require($phpbb_root_path . 'includes/functions_install.' . $phpEx);
$class_loader = new phpbb_class_loader($phpbb_root_path, '.' . $phpEx);
$class_loader->register();
-$request = new phpbb_request();
+
+$request = new phpbb_request(new phpbb_type_cast_helper());
// make sure request_var uses this request instance
-request_var($request, 0); // "dependency injection" for a function
+request_var('', 0, false, false, $request); // "dependency injection" for a function
// Try and load an appropriate language if required
$language = basename(request_var('language', ''));