[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();