aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorGaëtan Muller <m.gaetan89@gmail.com>2015-01-04 20:41:04 +0100
committerGaëtan Muller <m.gaetan89@gmail.com>2015-02-03 20:50:40 +0100
commitf6e06da4c68917dafb057bf7fe19f884a3e148c2 (patch)
treee68e2c80b8588e066069a574ea7d0bda887c6ddd /phpBB/feed.php
parent284aa8c496d658c196a0dfa3c90657415ee4c2ee (diff)
downloadforums-f6e06da4c68917dafb057bf7fe19f884a3e148c2.tar
forums-f6e06da4c68917dafb057bf7fe19f884a3e148c2.tar.gz
forums-f6e06da4c68917dafb057bf7fe19f884a3e148c2.tar.bz2
forums-f6e06da4c68917dafb057bf7fe19f884a3e148c2.tar.xz
forums-f6e06da4c68917dafb057bf7fe19f884a3e148c2.zip
[ticket/13455] Update calls to `request_var()`
PHPBB3-13455
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r--phpBB/feed.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php
index 75877efd04..a7428ea846 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -33,11 +33,11 @@ if (!$config['feed_enable'])
// Start session
$user->session_begin();
-if (!empty($config['feed_http_auth']) && request_var('auth', '') == 'http')
+if (!empty($config['feed_http_auth']) && $request->variable('auth', '') == 'http')
{
phpbb_http_login(array(
'auth_message' => 'Feed',
- 'viewonline' => request_var('viewonline', true),
+ 'viewonline' => $request->variable('viewonline', true),
));
}
@@ -45,9 +45,9 @@ $auth->acl($user->data);
$user->setup('viewtopic');
// Initial var setup
-$forum_id = request_var('f', 0);
-$topic_id = request_var('t', 0);
-$mode = request_var('mode', '');
+$forum_id = $request->variable('f', 0);
+$topic_id = $request->variable('t', 0);
+$mode = $request->variable('mode', '');
// We do not use a template, therefore we simply define the global template variables here
$global_vars = $item_vars = array();
@@ -162,7 +162,7 @@ if ($config['gzip_compress'])
}
// IF debug extra is enabled and admin want to "explain" the page we need to set other headers...
-if (defined('DEBUG') && request_var('explain', 0) && $auth->acl_get('a_'))
+if (defined('DEBUG') && $request->variable('explain', 0) && $auth->acl_get('a_'))
{
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');