mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ if( $HTTP_GET_VARS['pane'] == 'left' )
|
||||||
$setmodules = 1;
|
$setmodules = 1;
|
||||||
while( $file = @readdir($dir) )
|
while( $file = @readdir($dir) )
|
||||||
{
|
{
|
||||||
if( preg_match("/^admin_.*?\.php$/", $file) )
|
if( preg_match("/^admin_.*?\." . $phpEx . "$/", $file) )
|
||||||
{
|
{
|
||||||
include($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'] )
|
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);
|
auto_prune($forum_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue