aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/indexController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-30 18:13:32 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-30 18:13:32 +0200
commit737047296874bf8fbad22c9c030486748cde9943 (patch)
tree1b3877d7a53329a6e5924cb4ea598be41127a072 /app/Controllers/indexController.php
parent68172c400ff568629bb9b9f540bf9d239ea9fe8b (diff)
parent27d2b88a19345dfc665dc086d3c2b2e4547e1b7f (diff)
Merge pull request #849 from Alkarex/RssFeed
Minz getBaseUrl correction and RSS template bug
Diffstat (limited to 'app/Controllers/indexController.php')
-rwxr-xr-xapp/Controllers/indexController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php
index c1aaca53f..baaf99065 100755
--- a/app/Controllers/indexController.php
+++ b/app/Controllers/indexController.php
@@ -137,6 +137,7 @@ class FreshRSS_index_Controller extends Minz_ActionController {
}
// No layout for RSS output.
+ $this->view->url = empty($_SERVER['QUERY_STRING']) ? '' : '?' . $_SERVER['QUERY_STRING'];
$this->view->rss_title = FreshRSS_Context::$name . ' | ' . Minz_View::title();
$this->view->_useLayout(false);
header('Content-Type: application/rss+xml; charset=utf-8');