aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index 575134f6b1..e6a472ce31 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -28,7 +28,7 @@ $user->setup('viewforum');
if ($ext = $request->variable('ext', ''))
{
// The class to load
- $class = "phpbb_ext_{$ext}_controller";
+ $class = 'phpbb_ext_' . str_replace('/', '_', $name) . '_controller';
// Make sure the specified extension is enabled
// and that it has a controller class