diff options
author | Máté Bartus <mate.bartus@gmail.com> | 2017-09-09 12:37:52 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-08 22:08:37 +0200 |
commit | 75d957e9e1162472d19dcacdd301c74ec8ffd250 (patch) | |
tree | cf65e3c493a0d7519a3536a56e6a59316e13c9f3 /phpBB/phpbb | |
parent | 1b9507d93d479609017b604447aba954a292f526 (diff) | |
download | forums-75d957e9e1162472d19dcacdd301c74ec8ffd250.tar forums-75d957e9e1162472d19dcacdd301c74ec8ffd250.tar.gz forums-75d957e9e1162472d19dcacdd301c74ec8ffd250.tar.bz2 forums-75d957e9e1162472d19dcacdd301c74ec8ffd250.tar.xz forums-75d957e9e1162472d19dcacdd301c74ec8ffd250.zip |
[ticket/15351] Fix missing global usage
PHPBB3-15351
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/session.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php index 31f32af7c4..b47038e120 100644 --- a/phpBB/phpbb/session.php +++ b/phpBB/phpbb/session.php @@ -99,8 +99,8 @@ class session else { // current directory within the phpBB root (for example: adm) - $root_dirs = explode('/', str_replace('\\', '/', $phpbb_filesystem->realpath($root_path))); - $page_dirs = explode('/', str_replace('\\', '/', $phpbb_filesystem->realpath('./'))); + $root_dirs = explode('/', str_replace('\\', '/', filesystem_helper::realpath($root_path))); + $page_dirs = explode('/', str_replace('\\', '/', filesystem_helper::realpath('./'))); } $intersection = array_intersect_assoc($root_dirs, $page_dirs); |