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.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index 03b19d1c12..3e4331cde5 100644
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -171,6 +171,10 @@ 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();
+
+// make sure request_var uses this request instance
+request_var($request, 0); // "dependency injection" for a function
// Try and load an appropriate language if required
$language = basename(request_var('language', ''));
@@ -813,4 +817,4 @@ class module
}
}
-?> \ No newline at end of file
+?>