Fix bug on content cache creation process
This commit is contained in:
parent
0e6aa33f8a
commit
806c5eac1e
2
base.php
2
base.php
|
@ -334,7 +334,7 @@ function content_cache__put($key, $config, $data) {
|
||||||
if ($ps[0] === 'always')
|
if ($ps[0] === 'always')
|
||||||
$cache_file .= ','.$ps[0];
|
$cache_file .= ','.$ps[0];
|
||||||
else if ($ps[0] === 'ondemand')
|
else if ($ps[0] === 'ondemand')
|
||||||
$cache_file .= $config;
|
$cache_file .= ','.$config;
|
||||||
file_put_contents($cache_file, serialize($data));
|
file_put_contents($cache_file, serialize($data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue