Little bug fix
This commit is contained in:
parent
adeccbc4f1
commit
d8d2e39a74
1
base.php
1
base.php
|
@ -292,6 +292,7 @@ function content_cache__exists($key) {
|
||||||
$cache_file = $cache_dir.'/'.$fil;
|
$cache_file = $cache_dir.'/'.$fil;
|
||||||
$ps = explode(',',$fil);
|
$ps = explode(',',$fil);
|
||||||
array_splice($ps, 0, 1);
|
array_splice($ps, 0, 1);
|
||||||
|
if ($ps[0] !== 'always' && count($ps) > 1)
|
||||||
$ps[1] = intval($ps[1]);
|
$ps[1] = intval($ps[1]);
|
||||||
return (object)[
|
return (object)[
|
||||||
'file' => $cache_file,
|
'file' => $cache_file,
|
||||||
|
|
Loading…
Reference in New Issue