summaryrefslogtreecommitdiff
path: root/app/Controllers/indexController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-18 19:29:44 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-18 19:29:44 +0100
commitfdd179d344dbe8734480b83bb7a0fba189275d5a (patch)
treec044bc5e7d60e8ad5ebccd676d064e2ac581d4d3 /app/Controllers/indexController.php
parent69f7bce75b6f45b7f8be376a5d9c14d5da62c91d (diff)
Corrections vue globale
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/353
Diffstat (limited to 'app/Controllers/indexController.php')
-rwxr-xr-xapp/Controllers/indexController.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php
index d05a106bb..45ded6fd4 100755
--- a/app/Controllers/indexController.php
+++ b/app/Controllers/indexController.php
@@ -46,10 +46,8 @@ class FreshRSS_index_Controller extends Minz_ActionController {
// no layout for RSS output
$this->view->_useLayout (false);
header('Content-Type: application/rss+xml; charset=utf-8');
- } else {
- if ($output === 'global') {
- Minz_View::appendScript (Minz_Url::display ('/scripts/global_view.js?' . @filemtime(PUBLIC_PATH . '/scripts/global_view.js')));
- }
+ } elseif ($output === 'global') {
+ Minz_View::appendScript (Minz_Url::display ('/scripts/global_view.js?' . @filemtime(PUBLIC_PATH . '/scripts/global_view.js')));
}
$this->view->cat_aside = $this->catDAO->listCategories ();