mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 13:30:25 +02:00
[ticket/15392] Removed realpath only where needed
PHPBB3-15392
This commit is contained in:
@@ -3240,12 +3240,12 @@ function phpbb_filter_root_path($errfile)
|
||||
{
|
||||
if ($phpbb_filesystem)
|
||||
{
|
||||
$root_path = $phpbb_filesystem-> __DIR__ . '/../';
|
||||
$root_path = $phpbb_filesystem-> realpath(__DIR__ . '/../');
|
||||
}
|
||||
else
|
||||
{
|
||||
$filesystem = new \phpbb\filesystem\filesystem();
|
||||
$root_path = $filesystem-> __DIR__ . '/../';
|
||||
$root_path = $filesystem-> realpath(__DIR__ . '/../');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user