mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/11700] Return class names with leading backslash in finder
PHPBB3-11700
This commit is contained in:
parent
3209d3c69a
commit
86147b46a4
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ class finder
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$class = preg_replace('#^ext/#', '', $class);
|
$class = preg_replace('#^ext/#', '', $class);
|
||||||
$classes[] = str_replace('/', '\\', $class);
|
$classes[] = '\\' . str_replace('/', '\\', $class);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $classes;
|
return $classes;
|
||||||
|
|
Loading…
Add table
Reference in a new issue