Added append_sid() where possible

This commit is contained in:
Ice
2008-08-09 12:53:05 +00:00
parent 2ab90018c5
commit c546d17b4b
4 changed files with 4 additions and 3 deletions

View File

@@ -84,6 +84,7 @@ if( $attach_forums === TRUE )
'POST_IDS' => (!empty($post_ids[$row['attach_id']])) ? $post_ids[$row['attach_id']] : '',
'POST_MSG_ID' => $row['post_msg_id'], // grab post ID to redirect to post
'U_FILE' => append_sid($phpbb_root_path . 'download/file.' . $phpEx, 'id=' . $row['attach_id']),
'U_TOPIC' => append_sid($phpbb_root_path . 'viewtopic.'.$phpEx, 'p='.$row['post_msg_id'].'#p'.$row['post_msg_id']),
));
}
$db->sql_freeresult($result);

View File

@@ -22,7 +22,7 @@ if (!defined('IN_PORTAL'))
$template->assign_vars(array(
'S_DISPLAY_PORTALSEARCH' => true,
'S_SEARCH_ACTION' => "{$phpbb_root_path}search.$phpEx",
'S_SEARCH_ACTION' => append_sid("{$phpbb_root_path}search.$phpEx"),
));