diff options
| author | 2015-05-23 16:37:30 +0200 | |
|---|---|---|
| committer | 2015-05-23 16:37:30 +0200 | |
| commit | e3ce10b38a8bdf2eef51835deb86dead7a7dd37d (patch) | |
| tree | b70d4be905641d2ebc215aed7a9748431623b68b /app/Models | |
| parent | e3f5e157a4f262248e7bee9893fbab93206c4b6d (diff) | |
| parent | 694dfa1f8b90d8f693ef39c7099c0e8f23c5c777 (diff) | |
Merge remote-tracking branch 'origin/PubSubHubbub' into dev
Diffstat (limited to 'app/Models')
| -rw-r--r-- | app/Models/Feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php index ed0a862c3..bf7ed3967 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -388,7 +388,7 @@ class FreshRSS_Feed extends Minz_Model { function pubSubHubbubPrepare() { $key = ''; - if (FreshRSS_Context::$system_conf->base_url && $this->hubUrl && $this->selfUrl) { + if (FreshRSS_Context::$system_conf->base_url && $this->hubUrl && $this->selfUrl && @is_dir(PSHB_PATH)) { $path = PSHB_PATH . '/feeds/' . base64url_encode($this->selfUrl); $hubFilename = $path . '/!hub.json'; if ($hubFile = @file_get_contents($hubFilename)) { |
