mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 05:20:56 +02:00
optimized update_last_post_information query.
git-svn-id: file:///svn/phpbb/trunk@4573 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -321,7 +321,7 @@ function display_attachments($attachment_data, &$update_count, $force_physical =
|
||||
}
|
||||
else if ($extensions[$attachment['extension']]['upload_icon'] != '')
|
||||
{
|
||||
$upload_image = '<img src="' . $phpbb_root_path . 'images/upload_icons/' . trim($extensions[$attachment['extension']]['upload_icon']) . '" alt="" border="0" />';
|
||||
$upload_image = '<img src="' . $phpbb_root_path . $config['upload_icons_path'] . '/' . trim($extensions[$attachment['extension']]['upload_icon']) . '" alt="" border="0" />';
|
||||
}
|
||||
|
||||
$filesize = $attachment['filesize'];
|
||||
|
Reference in New Issue
Block a user