[問題] pay_mod_extra 0.1.1 與 File Attachment Mod V2.3.14 是否有衝突??
發表於 : 2005-08-05 03:38
先貼一下 File Attachment Mod V2.3.13 升級至 File Attachment Mod V2.3.14 部分原始碼\r
attach_mod/displaying.php
FIND - Line 789
REPLACE WITH
FIND - Line 845
REPLACE WITH
這部分與倉大大pay_mod_extra 0.1.1
有無衝突阿??
倉大大的
是被//註銷的
而外掛
這行有改變
倉大有變的是\r
想請問有人升級了嗎?是否有問題?
Attachment Mod 2.3.13 to Attachment Mod 2.3.14 Code Changes
http://www.opentools.de/board/download.php?id=735
attach_mod/displaying.php
FIND - Line 789
代碼: 選擇全部
$img_source = $filename;
$download_link = FALSE;
代碼: 選擇全部
// Check if we can reach the file or if it is stored outside of the webroot
if ($attach_config['upload_dir'][0] == '/' || ( $attach_config['upload_dir'][0] != '/' && $attach_config['upload_dir'][1] == ':'))
{
$img_source = append_sid('download.' . $phpEx . '?id=' . $attachments['_' . $post_id][$i]['attach_id']);
$download_link = TRUE;
}
else
{
$img_source = $filename;
$download_link = FALSE;
}
代碼: 選擇全部
$thumb_source = $thumbnail_filename;
代碼: 選擇全部
// Check if we can reach the file or if it is stored outside of the webroot
if ($attach_config['upload_dir'][0] == '/' || ( $attach_config['upload_dir'][0] != '/' && $attach_config['upload_dir'][1] == ':'))
{
$thumb_source = append_sid('download.' . $phpEx . '?id=' . $attachments['_' . $post_id][$i]['attach_id'] . '&thumb=1');
}
else
{
$thumb_source = $thumbnail_filename;
}
有無衝突阿??
倉大大的
代碼: 選擇全部
$img_source = $filename;而外掛
代碼: 選擇全部
$download_link = FALSE;倉大有變的是\r
代碼: 選擇全部
if (!$download_link && $showatt <> 'no')Attachment Mod 2.3.13 to Attachment Mod 2.3.14 Code Changes
http://www.opentools.de/board/download.php?id=735