mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/controller] Fix use of $this in global scope
PHPBB3-10864
This commit is contained in:
parent
91ce6e8b16
commit
db071d6854
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ define('IN_PHPBB', true);
|
||||||
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
|
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
|
||||||
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
include($phpbb_root_path . 'common.' . $phpEx);
|
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
|
// Start session management
|
||||||
$user->session_begin();
|
$user->session_begin();
|
||||||
|
|
Loading…
Add table
Reference in a new issue