#62 update Cache_Lite pear Library in place

via https://github.com/pear/Cache_Lite
This commit is contained in:
Phil 2024-05-24 12:19:27 +02:00
parent fe1ee908c1
commit b4e2f7a5b9
1 changed files with 67 additions and 67 deletions

View File

@ -564,7 +564,7 @@ class Cache_Lite
*/
function raiseError($msg, $code)
{
error_log("[code] $msg");
return PEAR::raiseError($msg, $code, $this->_pearErrorMode);
}
/**
@ -638,7 +638,7 @@ class Cache_Lite
return true;
}
}
if (!($dh = opendir($dir))) {
if (!($dh = @opendir($dir))) {
return $this->raiseError('Cache_Lite : Unable to open cache directory !', -4);
}
$result = true;