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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user