mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 13:30:25 +02:00
Merge branch 'ticket/15392' into ticket/15392-master
This commit is contained in:
@@ -3166,7 +3166,7 @@ function phpbb_filter_root_path($errfile)
|
||||
|
||||
if (empty($root_path))
|
||||
{
|
||||
$root_path = \phpbb\filesystem\helper::realpath(dirname(__FILE__) . '/../');
|
||||
$root_path = \phpbb\filesystem\helper::realpath(__DIR__ . '/../');
|
||||
}
|
||||
|
||||
return str_replace(array($root_path, '\\'), array('[ROOT]', '/'), $errfile);
|
||||
|
Reference in New Issue
Block a user