mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
Remove hard-coded .php
git-svn-id: file:///svn/phpbb/trunk@1963 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4ca97851d6
commit
ed932754b5
@ -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);
|
||||
}
|
||||
|
@ -169,7 +169,7 @@ if( $is_auth['auth_mod'] && $board_config['prune_enable'] )
|
||||
{
|
||||
if( $forum_row['prune_next'] < time() && $forum_row['prune_enable'] )
|
||||
{
|
||||
include($phpbb_root_path . 'includes/prune.php');
|
||||
include($phpbb_root_path . 'includes/prune.$phpEx');
|
||||
auto_prune($forum_id);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user