aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-02-17 14:21:28 -0500
committerDavid King <imkingdavid@gmail.com>2012-03-19 09:12:32 -0400
commit969c6d42e390fe05960d9dd3b97b230d4e7830a0 (patch)
tree7924e5b765d42609cd20b0ce20ff09887fbf3a6f /phpBB/index.php
parenta0131b45f56847f7e5c44a6db66cd7359967585f (diff)
downloadforums-969c6d42e390fe05960d9dd3b97b230d4e7830a0.tar
forums-969c6d42e390fe05960d9dd3b97b230d4e7830a0.tar.gz
forums-969c6d42e390fe05960d9dd3b97b230d4e7830a0.tar.bz2
forums-969c6d42e390fe05960d9dd3b97b230d4e7830a0.tar.xz
forums-969c6d42e390fe05960d9dd3b97b230d4e7830a0.zip
[ticket/10586] Removed file_exists() check because class_exists() covers that.
PHPBB3-10586
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 a206ed4d37..575134f6b1 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -42,7 +42,7 @@ if ($ext = $request->variable('ext', ''))
send_status_line(404, 'Not Found');
trigger_error($user->lang('EXTENSION_DISABLED', $ext));
}
- else if (!file_exists("{$phpbb_root_path}ext/$ext/controller.$phpEx") || !class_exists($class))
+ else if (!class_exists($class))
{
send_status_line(404, 'Not Found');
trigger_error($user->lang('EXTENSION_CONTROLLER_MISSING', $ext));