1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15392] Remove not needed realpath()

PHPBB3-15392
This commit is contained in:
DinHere
2017-12-03 21:56:46 +02:00
committed by Marc Alexander
parent 8c9d26db1f
commit 448b6a7d49
3 changed files with 8 additions and 9 deletions

View File

@@ -3240,12 +3240,12 @@ function phpbb_filter_root_path($errfile)
{
if ($phpbb_filesystem)
{
$root_path = $phpbb_filesystem->realpath(__DIR__ . '/../');
$root_path = $phpbb_filesystem-> __DIR__ . '/../';
}
else
{
$filesystem = new \phpbb\filesystem\filesystem();
$root_path = $filesystem->realpath(__DIR__ . '/../');
$root_path = $filesystem-> __DIR__ . '/../';
}
}