aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index e6a472ce31..2500774f67 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_' . str_replace('/', '_', $name) . '_controller';
+ $class = 'phpbb_ext_' . str_replace('/', '_', $ext) . '_controller';
// Make sure the specified extension is enabled
// and that it has a controller class