mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
#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:
parent
bbe0901651
commit
354b0f8327
1 changed files with 4 additions and 2 deletions
|
|
@ -619,8 +619,6 @@
|
||||||
|
|
||||||
$check_files = false;
|
$check_files = false;
|
||||||
|
|
||||||
$content = $this->get('content');
|
|
||||||
|
|
||||||
// 비밀글 체크
|
// 비밀글 체크
|
||||||
if($this->isSecret()) $buffs[] = "secret";
|
if($this->isSecret()) $buffs[] = "secret";
|
||||||
|
|
||||||
|
|
@ -631,6 +629,9 @@
|
||||||
if($this->get('regdate')>$time_check) $buffs[] = "new";
|
if($this->get('regdate')>$time_check) $buffs[] = "new";
|
||||||
else if($this->get('last_update')>$time_check) $buffs[] = "update";
|
else if($this->get('last_update')>$time_check) $buffs[] = "update";
|
||||||
|
|
||||||
|
/*
|
||||||
|
$content = $this->get('content');
|
||||||
|
|
||||||
// 사진 이미지 체크
|
// 사진 이미지 체크
|
||||||
preg_match_all('!<img([^>]*?)>!is', $content, $matches);
|
preg_match_all('!<img([^>]*?)>!is', $content, $matches);
|
||||||
$cnt = count($matches[0]);
|
$cnt = count($matches[0]);
|
||||||
|
|
@ -646,6 +647,7 @@
|
||||||
$buffs[] = "movie";
|
$buffs[] = "movie";
|
||||||
$check_files = true;
|
$check_files = true;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// 첨부파일 체크
|
// 첨부파일 체크
|
||||||
if($this->hasUploadedFiles()) $buffs[] = "file";
|
if($this->hasUploadedFiles()) $buffs[] = "file";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue