mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 23:57:29 +02:00
[Config] Don't check PATH_CACHE for memcached (#1489)
This commit is contained in:
@@ -6,6 +6,15 @@ class FileCache implements CacheInterface {
|
||||
protected $path;
|
||||
protected $key;
|
||||
|
||||
public function __construct() {
|
||||
if (!is_writable(PATH_CACHE)) {
|
||||
returnServerError(
|
||||
'RSS-Bridge does not have write permissions for '
|
||||
. PATH_CACHE . '!'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
public function loadData(){
|
||||
if(file_exists($this->getCacheFile())) {
|
||||
return unserialize(file_get_contents($this->getCacheFile()));
|
||||
|
Reference in New Issue
Block a user