mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
#121. zbxe코드내에서 사용되는 모든 filectime()을 filemtime()으로 변경하여 윈도우에서도 캐시에 대한 유효처리가 이상없도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2445 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
13c9711400
commit
150f8ede43
10 changed files with 12 additions and 12 deletions
|
|
@ -281,7 +281,7 @@
|
|||
|
||||
// 썸네일이 있더라도 글의 수정시간과 비교해서 다르면 다시 생성함
|
||||
if(file_exists($thumbnail_file)) {
|
||||
$file_created_time = date("YmdHis",filectime($thumbnail_file));
|
||||
$file_created_time = date("YmdHis",filemtime($thumbnail_file));
|
||||
$modified_time = $this->get('last_update');
|
||||
if($modified_time > $file_created_time) @unlink($thumbnail_file);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue