mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11700] Return class names with leading backslash in finder
PHPBB3-11700
This commit is contained in:
@@ -286,7 +286,7 @@ class finder
|
||||
else
|
||||
{
|
||||
$class = preg_replace('#^ext/#', '', $class);
|
||||
$classes[] = str_replace('/', '\\', $class);
|
||||
$classes[] = '\\' . str_replace('/', '\\', $class);
|
||||
}
|
||||
}
|
||||
return $classes;
|
||||
|
Reference in New Issue
Block a user