1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 23:25:30 +02:00

Remove hard-coded .php

git-svn-id: file:///svn/phpbb/trunk@1963 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-01-27 02:19:45 +00:00
parent 4ca97851d6
commit ed932754b5
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View 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);
}
}