diff --git a/code/model/RssContentSource.php b/code/model/RssContentSource.php index 43a4a5f..0fed135 100644 --- a/code/model/RssContentSource.php +++ b/code/model/RssContentSource.php @@ -127,10 +127,11 @@ public function stageChildren() { */ public function getClient() { if (!$this->client) { - $this->client = new SimplePie($this->Url); - $this->client->enable_cache(true); - $this->client->set_cache_duration($this->getCacheLifetime()); + $this->client = new SimplePie($this->Url, TEMP_FOLDER); $this->client->set_cache_location(TEMP_FOLDER); + $this->client->set_cache_duration($this->getCacheLifetime()); + $this->client->set_feed_url($this->Url); + $this->client->enable_cache(true); } return $this->client;