v 1.4.2
- Extended status cache time from 10 to 60 seconds. Query should be less spammy now. - Fixed "It is not safe to rely on the system's timezone settings" exception - Removed lang property from html tag
This commit is contained in:
@ -11,7 +11,7 @@ date_default_timezone_set($config["general"]["timezone"]);
|
||||
$cacheutils = new CacheUtils('serverstatus');
|
||||
|
||||
if($cacheutils->isExpired()) {
|
||||
$cacheutils->setValue(getResult(), 10);
|
||||
$cacheutils->setValue(getResult(), 60);
|
||||
}
|
||||
|
||||
die ($cacheutils->getValue());
|
||||
|
Reference in New Issue
Block a user