mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/15351] Fix missing global usage
PHPBB3-15351
This commit is contained in:
parent
dababbb9ad
commit
bd7cdd2e25
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,8 @@ class session
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// current directory within the phpBB root (for example: adm)
|
// current directory within the phpBB root (for example: adm)
|
||||||
$root_dirs = explode('/', str_replace('\\', '/', $phpbb_filesystem->realpath($root_path)));
|
$root_dirs = explode('/', str_replace('\\', '/', filesystem_helper::realpath($root_path)));
|
||||||
$page_dirs = explode('/', str_replace('\\', '/', $phpbb_filesystem->realpath('./')));
|
$page_dirs = explode('/', str_replace('\\', '/', filesystem_helper::realpath('./')));
|
||||||
}
|
}
|
||||||
|
|
||||||
$intersection = array_intersect_assoc($root_dirs, $page_dirs);
|
$intersection = array_intersect_assoc($root_dirs, $page_dirs);
|
||||||
|
|
Loading…
Add table
Reference in a new issue