Fix cache compression
This commit is contained in:
@ -71,7 +71,7 @@ class UupDumpCache {
|
||||
if(!file_exists('cache')) mkdir('cache');
|
||||
|
||||
$cacheContent = json_encode($cache)."\n";
|
||||
if($this->isCompressed) $cacheContent = @gzencode($cache);
|
||||
if($this->isCompressed) $cacheContent = @gzencode($cacheContent);
|
||||
|
||||
@file_put_contents($cacheFile, $cacheContent);
|
||||
}
|
||||
|
Reference in New Issue
Block a user