mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Remove hard-coded .php
git-svn-id: file:///svn/phpbb/trunk@1963 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user