aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/admin/index.php')
-rw-r--r--phpBB/admin/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/admin/index.php b/phpBB/admin/index.php
index deb18b2781..e2538f2fc1 100644
--- a/phpBB/admin/index.php
+++ b/phpBB/admin/index.php
@@ -56,7 +56,7 @@ if( $HTTP_GET_VARS['pane'] == 'left' )
$setmodules = 1;
while( $file = @readdir($dir) )
{
- if( preg_match("/^admin_.*?\.php$/", $file) )
+ if( preg_match("/^admin_.*?\." . $phpEx . "$/", $file) )
{
include($file);
}