#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:
zero 2007-08-31 04:38:09 +00:00
parent 13c9711400
commit 150f8ede43
10 changed files with 12 additions and 12 deletions

View file

@ -51,7 +51,7 @@
$cache_file = sprintf("./files/cache/newest_news.%s.cache.php", Context::getLangType());
// 1시간 단위로 캐싱 체크
if(!file_exists($cache_file) || filectime($cache_file)+ 60*60 < time()) {
if(!file_exists($cache_file) || filemtime($cache_file)+ 60*60 < time()) {
FileHandler::getRemoteFile($newest_news_url, $cache_file);
}
if(file_exists($cache_file)) {