mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
#85, time()을 $_SERVER['REQUEST_TIME']으로 대체
This commit is contained in:
parent
3bc8d7da67
commit
540da2c75c
28 changed files with 48 additions and 48 deletions
|
|
@ -61,7 +61,7 @@ class pageMobile extends pageView
|
|||
$mtime = filemtime($cache_file);
|
||||
}
|
||||
|
||||
if($mtime + $interval*60 > time())
|
||||
if($mtime + $interval*60 > $_SERVER['REQUEST_TIME'])
|
||||
{
|
||||
$page_content = FileHandler::readFile($cache_file);
|
||||
$page_content = preg_replace('@<\!--#Meta:@', '<!--Meta:', $page_content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue