From 7dd59cf1f5c5452d31669ca196405ac77da3ab00 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 24 Jul 2011 17:06:13 +0000 Subject: added RSS - part 1 --- h-source/Application/Controllers/RssController.php | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 h-source/Application/Controllers/RssController.php (limited to 'h-source/Application/Controllers/RssController.php') diff --git a/h-source/Application/Controllers/RssController.php b/h-source/Application/Controllers/RssController.php new file mode 100644 index 0000000..359c651 --- /dev/null +++ b/h-source/Application/Controllers/RssController.php @@ -0,0 +1,41 @@ +. + +if (!defined('EG')) die('Direct access not allowed!'); + +class RssController extends SpecialController +{ + + public function __construct($model, $controller, $queryString) + { + parent::__construct($model, $controller, $queryString); + + $data['title'] = 'RSS - '.Website::$generalName; + $this->append($data); + } + + public function modifications($lang = 'en') + { + parent::modifications($lang); + $this->clean(); + $this->load('modifications'); + } + +} \ No newline at end of file -- cgit v1.2.3