@@ -21,8 +21,8 @@ |
||
21 | 21 | |
22 | 22 | $this->RSSFeed->enable_cache(false); |
23 | 23 | |
24 | - $this->RSSFeed->init(); |
|
25 | - $this->RSSFeed->handle_content_type(); |
|
24 | + $this->RSSFeed->init(); |
|
25 | + $this->RSSFeed->handle_content_type(); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function indexAction() |
@@ -9,7 +9,7 @@ |
||
9 | 9 | |
10 | 10 | |
11 | 11 | // Create services and inject into the app. |
12 | -$di = new \Anax\DI\CDIFactoryDefault(); |
|
12 | +$di = new \Anax\DI\CDIFactoryDefault(); |
|
13 | 13 | |
14 | 14 | $di->set('RssController', function() use ($di) { |
15 | 15 | $controller = new \petlid\RSSReader\RSSReaderController("http://www.historytoday.com/feed/rss.xml"); |