mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-07-10 23:26:17 -04:00
SimplePie 604 (#2350)
Cherry-pick https://github.com/simplepie/simplepie/pull/604
This commit is contained in:
committed by
GitHub
parent
74f92658b7
commit
0fb21e1473
@@ -101,7 +101,7 @@ class SimplePie_Cache_File implements SimplePie_Cache_Base
|
||||
*/
|
||||
public function save($data)
|
||||
{
|
||||
if (file_exists($this->name) && is_writeable($this->name) || file_exists($this->location) && is_writeable($this->location))
|
||||
if (file_exists($this->name) && is_writable($this->name) || file_exists($this->location) && is_writable($this->location))
|
||||
{
|
||||
if ($data instanceof SimplePie)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user