mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
add global promotion deadline + fix grane medal
This commit is contained in:
@@ -102,6 +102,10 @@ class Imdb
|
||||
public function purgeSingle($id)
|
||||
{
|
||||
$mainCacheFile = $this->getCacheFilePath($id);
|
||||
if (!is_file($mainCacheFile)) {
|
||||
do_log("mainCacheFile: $mainCacheFile not exists, return");
|
||||
return true;
|
||||
}
|
||||
foreach (glob("$mainCacheFile*") as $file) {
|
||||
if (file_exists($file)) {
|
||||
do_log("unlink: $file");
|
||||
|
||||
Reference in New Issue
Block a user