aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2013-09-25 13:15:34 +0200
committerNils Adermann <naderman@naderman.de>2013-09-25 13:15:34 +0200
commit86147b46a4bd2aca54300ff4a14b8d524dcb5534 (patch)
tree0f8cc5dd424a4317c75cb22587159b7350c3d538 /phpBB
parent3209d3c69a668607ab4ba8b85ce2ee80d674c43b (diff)
downloadforums-86147b46a4bd2aca54300ff4a14b8d524dcb5534.tar
forums-86147b46a4bd2aca54300ff4a14b8d524dcb5534.tar.gz
forums-86147b46a4bd2aca54300ff4a14b8d524dcb5534.tar.bz2
forums-86147b46a4bd2aca54300ff4a14b8d524dcb5534.tar.xz
forums-86147b46a4bd2aca54300ff4a14b8d524dcb5534.zip
[ticket/11700] Return class names with leading backslash in finder
PHPBB3-11700
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/extension/finder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/extension/finder.php b/phpBB/phpbb/extension/finder.php
index d3e73bc387..ffcb2c830e 100644
--- a/phpBB/phpbb/extension/finder.php
+++ b/phpBB/phpbb/extension/finder.php
@@ -286,7 +286,7 @@ class finder
else
{
$class = preg_replace('#^ext/#', '', $class);
- $classes[] = str_replace('/', '\\', $class);
+ $classes[] = '\\' . str_replace('/', '\\', $class);
}
}
return $classes;