From 777e3dda8f0b1e61b37e207a2a66145c5c05fb14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=B7=E7=9B=9BDiscuz!?= Date: Sat, 21 Oct 2017 13:54:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=AD=E6=B3=95=E7=BC=A9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/function/function_post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/source/function/function_post.php b/upload/source/function/function_post.php index 0c051c4..f26e60a 100644 --- a/upload/source/function/function_post.php +++ b/upload/source/function/function_post.php @@ -631,7 +631,7 @@ function setthreadcover($pid, $tid = 0, $aid = 0, $countimg = 0, $imgurl = '') { $tid = empty($tid) ? $attach['tid'] : $tid; $picsource = ($attach['remote'] ? $_G['setting']['ftp']['attachurl'] : $_G['setting']['attachurl']).'forum/'.$attach['attachment']; } else { - return true; + return true; } $basedir = !$_G['setting']['attachdir'] ? (DISCUZ_ROOT.'./data/attachment/') : $_G['setting']['attachdir'];