aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-06-10 13:57:47 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-07-13 09:57:56 +0200
commit3eaeede32176d8831f12529aa2053123293b67ca (patch)
tree1b3e4d3e15c8abd8ce6b1d9ca233aa33ccd4f36f /phpBB/install
parentdeac5f53e3e4131c315c93ce1324899da08d233e (diff)
downloadforums-3eaeede32176d8831f12529aa2053123293b67ca.tar
forums-3eaeede32176d8831f12529aa2053123293b67ca.tar.gz
forums-3eaeede32176d8831f12529aa2053123293b67ca.tar.bz2
forums-3eaeede32176d8831f12529aa2053123293b67ca.tar.xz
forums-3eaeede32176d8831f12529aa2053123293b67ca.zip
[ticket/11574] Use request object rather then request_var function
PHPBB3-11574
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index 5494b57610..fd6734cbfb 100644
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -127,7 +127,7 @@ $request = $phpbb_container->get('request');
request_var('', 0, false, false, $request); // "dependency injection" for a function
// Try and load an appropriate language if required
-$language = basename(request_var('language', ''));
+$language = basename($request->variable('language', ''));
if ($request->header('Accept-Language') && !$language)
{
@@ -212,8 +212,8 @@ define('CHMOD_READ', 4);
define('CHMOD_WRITE', 2);
define('CHMOD_EXECUTE', 1);
-$mode = request_var('mode', 'overview');
-$sub = request_var('sub', '');
+$mode = $request->variable('mode', 'overview');
+$sub = $request->variable('sub', '');
// Set PHP error handler to ours
set_error_handler(defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handler');