1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-19 08:01:27 +02:00

[feature/controller] Fix use of $this in global scope

PHPBB3-10864
This commit is contained in:
David King
2012-11-15 15:05:52 -05:00
parent 91ce6e8b16
commit db071d6854

View File

@@ -17,7 +17,7 @@ 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($this->root_path . 'includes/functions_url_matcher' . $this->php_ext);
include($phpbb_root_path . 'includes/functions_url_matcher' . $phpEx);
// Start session management
$user->session_begin();