#19609574 replace checking document attached files

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8164 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2011-03-09 07:51:19 +00:00
parent bbe0901651
commit 354b0f8327

View file

@ -619,8 +619,6 @@
$check_files = false;
$content = $this->get('content');
// 비밀글 체크
if($this->isSecret()) $buffs[] = "secret";
@ -631,6 +629,9 @@
if($this->get('regdate')>$time_check) $buffs[] = "new";
else if($this->get('last_update')>$time_check) $buffs[] = "update";
/*
$content = $this->get('content');
// 사진 이미지 체크
preg_match_all('!<img([^>]*?)>!is', $content, $matches);
$cnt = count($matches[0]);
@ -646,6 +647,7 @@
$buffs[] = "movie";
$check_files = true;
}
*/
// 첨부파일 체크
if($this->hasUploadedFiles()) $buffs[] = "file";