aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/session.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-05-11 13:40:47 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-11 23:36:20 +0200
commit3f33d8957288ee988e6e276ec8cb2042eb921627 (patch)
tree604f892ecd5cef1f14e4f936fc19dd3b15f8721e /phpBB/phpbb/session.php
parent90f8498a4488e7f28ee7741cb9245ff232489127 (diff)
downloadforums-3f33d8957288ee988e6e276ec8cb2042eb921627.tar
forums-3f33d8957288ee988e6e276ec8cb2042eb921627.tar.gz
forums-3f33d8957288ee988e6e276ec8cb2042eb921627.tar.bz2
forums-3f33d8957288ee988e6e276ec8cb2042eb921627.tar.xz
forums-3f33d8957288ee988e6e276ec8cb2042eb921627.zip
[ticket/16052] Fix issues caused by merges
PHPBB3-16052
Diffstat (limited to 'phpBB/phpbb/session.php')
-rw-r--r--phpBB/phpbb/session.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php
index 9e1548bf76..38e40ba29e 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('\\', '/', filesystem_helper::realpath($root_path)));
- $page_dirs = explode('/', str_replace('\\', '/', filesystem_helper::realpath('./')));
+ $root_dirs = explode('/', str_replace('\\', '/', $phpbb_filesystem->realpath($root_path)));
+ $page_dirs = explode('/', str_replace('\\', '/', $phpbb_filesystem->realpath('./')));
}
$intersection = array_intersect_assoc($root_dirs, $page_dirs);