aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb')
-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 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);