**/ /** * @ignore **/ define('IN_PHPBB', true); $phpbb_root_path = defined('PHPBB_ROOT_PATH') ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include $phpbb_root_path . 'common.' . $phpEx; include $phpbb_root_path . 'includes/functions_display.' . $phpEx; if (!$config['feed_enable']) { trigger_error('NO_FEED_ENABLED'); } // Start session $user->session_begin(); if (!empty($config['feed_http_auth']) && request_var('auth', '') == 'http') { phpbb_http_login(array('auth_message' => 'Feed', 'viewonline' => request_var('viewonline', true))); } $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', ''); // We do not use a template, therefore we simply define the global template variables here $global_vars = $item_vars = array(); $feed_updated_time = 0; // Generate params array for use in append_sid() to correctly link back to this page $params = false; if ($forum_id || $topic_id || $mode) { $params = array('f' => $forum_id ? $forum_id : NULL, 't' => $topic_id ? $topic_id : NULL, 'mode' => $mode ? $mode : NULL); }
**/ /** * @ignore **/ define('IN_PHPBB', true); $phpbb_root_path = defined('PHPBB_ROOT_PATH') ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include $phpbb_root_path . 'common.' . $phpEx; include $phpbb_root_path . 'includes/functions_display.' . $phpEx; if (!$config['feed_enable']) { trigger_error('NO_FEED_ENABLED'); } // Start session $user->session_begin(); if (!empty($config['feed_http_auth']) && $request->variable('auth', '') == 'http') { phpbb_http_login(array('auth_message' => 'Feed', 'viewonline' => $request->variable('viewonline', true))); } $auth->acl($user->data); $user->setup('viewtopic'); // Initial var setup $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(); $feed_updated_time = 0; // Generate params array for use in append_sid() to correctly link back to this page $params = false; if ($forum_id || $topic_id || $mode) { $params = array('f' => $forum_id ? $forum_id : NULL, 't' => $topic_id ? $topic_id : NULL, 'mode' => $mode ? $mode : NULL); }