mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update cache_gc.php
This commit is contained in:
parent
badd36c6b8
commit
5a46aef7df
@ -9,6 +9,6 @@ foreach ($bb_cfg['cache']['engines'] as $cache_name => $cache_val)
|
|||||||
if (method_exists(CACHE($cache_name), 'gc'))
|
if (method_exists(CACHE($cache_name), 'gc'))
|
||||||
{
|
{
|
||||||
$changes = CACHE($cache_name)->gc();
|
$changes = CACHE($cache_name)->gc();
|
||||||
$cron_runtime_log = date('Y-m-d H:i:s') ." -- ". str_pad("$cache_name ", 25, '-', STR_PAD_RIGHT) ." del: $changes\n";
|
$cron_runtime_log .= date('Y-m-d H:i:s') ." -- ". str_pad("$cache_name ", 25, '-', STR_PAD_RIGHT) ." del: $changes\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user