aboutsummaryrefslogtreecommitdiffstats
path: root/lib/simplepie/library/SimplePie/Cache/File.php
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2021-04-13 12:41:24 +0200
committerfilip <filip.komar@gmail.com>2021-04-13 12:41:24 +0200
commite065d637d9aff8e59e44d5c0553fd4c50509951c (patch)
tree17f131cbb670bae8767efc75e1c7e4c11d5be287 /lib/simplepie/library/SimplePie/Cache/File.php
parent63276079bbaa3c53e1fdfe3ab44e97a16c1741f9 (diff)
downloadwww-e065d637d9aff8e59e44d5c0553fd4c50509951c.tar
www-e065d637d9aff8e59e44d5c0553fd4c50509951c.tar.gz
www-e065d637d9aff8e59e44d5c0553fd4c50509951c.tar.bz2
www-e065d637d9aff8e59e44d5c0553fd4c50509951c.tar.xz
www-e065d637d9aff8e59e44d5c0553fd4c50509951c.zip
update SimplePie for compatibility php 7.4 and 8
Diffstat (limited to 'lib/simplepie/library/SimplePie/Cache/File.php')
-rw-r--r--lib/simplepie/library/SimplePie/Cache/File.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/simplepie/library/SimplePie/Cache/File.php b/lib/simplepie/library/SimplePie/Cache/File.php
index 6ba6c5f6e..03758e923 100644
--- a/lib/simplepie/library/SimplePie/Cache/File.php
+++ b/lib/simplepie/library/SimplePie/Cache/File.php
@@ -5,7 +5,7 @@
* A PHP-Based RSS and Atom Feed Framework.
* Takes the hard work out of managing a complete RSS/Atom solution.
*
- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors
+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
@@ -33,9 +33,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* @package SimplePie
- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue
+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
* @author Ryan Parman
- * @author Geoffrey Sneddon
+ * @author Sam Sneddon
* @author Ryan McCue
* @link http://simplepie.org/ SimplePie
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
@@ -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)
{