mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
문서 및 댓글 썸네일 URL에 mtime을 추가하여 캐시 갱신 유도
This commit is contained in:
parent
c68f14086f
commit
29a534b256
2 changed files with 4 additions and 4 deletions
|
|
@ -844,7 +844,7 @@ class documentItem extends Object
|
|||
}
|
||||
else
|
||||
{
|
||||
return $thumbnail_url;
|
||||
return $thumbnail_url . '?' . date('YmdHis', filemtime($thumbnail_file));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -938,7 +938,7 @@ class documentItem extends Object
|
|||
// Return the thumbnail path if it was successfully generated
|
||||
if($output)
|
||||
{
|
||||
return $thumbnail_url;
|
||||
return $thumbnail_url . '?' . date('YmdHis');
|
||||
}
|
||||
// Create an empty file if thumbnail generation failed
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue