1
0
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:
Meik Sievertsen
2003-10-12 09:13:04 +00:00
parent 7924d903b0
commit 98bd5b74f2
3 changed files with 21 additions and 41 deletions

View File

@@ -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'];