#62 update Cache_Lite pear Library in place
via https://github.com/pear/Cache_Lite
This commit is contained in:
parent
fe1ee908c1
commit
b4e2f7a5b9
|
|
@ -564,7 +564,7 @@ class Cache_Lite
|
||||||
*/
|
*/
|
||||||
function raiseError($msg, $code)
|
function raiseError($msg, $code)
|
||||||
{
|
{
|
||||||
error_log("[code] $msg");
|
return PEAR::raiseError($msg, $code, $this->_pearErrorMode);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -638,7 +638,7 @@ class Cache_Lite
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!($dh = opendir($dir))) {
|
if (!($dh = @opendir($dir))) {
|
||||||
return $this->raiseError('Cache_Lite : Unable to open cache directory !', -4);
|
return $this->raiseError('Cache_Lite : Unable to open cache directory !', -4);
|
||||||
}
|
}
|
||||||
$result = true;
|
$result = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue