diff --git a/admin/admin_attach_cp.php b/admin/admin_attach_cp.php index a05774157..eddfad757 100644 --- a/admin/admin_attach_cp.php +++ b/admin/admin_attach_cp.php @@ -452,7 +452,7 @@ if ($view === 'attachments') { 'S_DELETE_BOX' => $delete_box, 'S_HIDDEN' => $hidden_field, - 'U_VIEW_ATTACHMENT' => BB_ROOT . DOWNLOAD_URL . $attachments[$i]['attach_id'], + 'U_VIEW_ATTACHMENT' => BB_ROOT . DL_URL . $attachments[$i]['attach_id'], )); } } diff --git a/callseed.php b/callseed.php index 243ece668..5fdf65f99 100644 --- a/callseed.php +++ b/callseed.php @@ -49,7 +49,7 @@ $user_list = DB()->fetch_rowset(" "); $subject = sprintf($lang['CALLSEED_SUBJECT'], $t_data['topic_title']); -$message = sprintf($lang['CALLSEED_TEXT'], make_url(TOPIC_URL . $topic_id), $t_data['topic_title'], make_url(DOWNLOAD_URL . $t_data['attach_id'])); +$message = sprintf($lang['CALLSEED_TEXT'], make_url(TOPIC_URL . $topic_id), $t_data['topic_title'], make_url(DL_URL . $t_data['attach_id'])); if ($user_list) { foreach ($user_list as $row) { diff --git a/dl.php b/dl.php index d165c6273..06cb97ef4 100644 --- a/dl.php +++ b/dl.php @@ -186,7 +186,7 @@ if (IS_GUEST && !bb_captcha('check')) { global $template; $redirect_url = $_POST['redirect_url'] ?? $_SERVER['HTTP_REFERER'] ?? '/'; - $message = '