mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
이미지이름, 이미지마크 URL에도 filemtime을 추가하여 변경시 캐시 갱신 유도
This commit is contained in:
parent
6f4fa03dc0
commit
480c07b2d7
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ function memberTransImageName($matches)
|
|||
|
||||
if(file_exists(_XE_PATH_ . $image_name_file))
|
||||
{
|
||||
$_tmp->image_name_file = $image_name_file;
|
||||
$_tmp->image_name_file = $image_name_file . '?' . date('YmdHis', filemtime(_XE_PATH_ . $image_name_file));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -40,7 +40,7 @@ function memberTransImageName($matches)
|
|||
|
||||
if(file_exists(_XE_PATH_ . $image_mark_file))
|
||||
{
|
||||
$_tmp->image_mark_file = $image_mark_file;
|
||||
$_tmp->image_mark_file = $image_mark_file . '?' . date('YmdHis', filemtime(_XE_PATH_ . $image_mark_file));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue