debug
This commit is contained in:
@@ -75,10 +75,14 @@ class StorageCore
|
||||
|
||||
public function read($strKey)
|
||||
{
|
||||
$Stream = $this->Filesystem->readStream($strKey);
|
||||
$strContent = stream_get_contents($Stream);
|
||||
$strContent = zstd_uncompress($strContent);
|
||||
return $strContent;
|
||||
try {
|
||||
$Stream = $this->Filesystem->readStream($strKey);
|
||||
$strContent = stream_get_contents($Stream);
|
||||
$strContent = zstd_uncompress($strContent);
|
||||
return $strContent;
|
||||
} catch (\Exception $e) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
public function has($strKey)
|
||||
|
||||
Reference in New Issue
Block a user