aboutsummaryrefslogtreecommitdiff
path: root/app/views/index
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-06 20:50:58 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-06 20:50:58 +0100
commit5f9672111f86c693d843138c00934a6c3eeede45 (patch)
tree4aa58d52cb0650c482820db6d3be6606bfa5c163 /app/views/index
parentd3a93ea2905ae50a2365d293f9f3ef3e51bf5f30 (diff)
Fix last calls to Minz_Configuration methods
- We have still to fix actualize_script and greader api (refactoring?) - We have to fix the FreshRSS_Configuration calls - We have to fix availableLanguages calls See https://github.com/FreshRSS/FreshRSS/issues/730
Diffstat (limited to 'app/views/index')
-rw-r--r--app/views/index/index.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml
index 8b93461dd..8b94c7f7d 100644
--- a/app/views/index/index.phtml
+++ b/app/views/index/index.phtml
@@ -2,7 +2,7 @@
$output = Minz_Request::param('output', 'normal');
-if (FreshRSS_Auth::hasAccess() || Minz_Configuration::allowAnonymous()) {
+if (FreshRSS_Auth::hasAccess() || FreshRSS_Context::$system_conf->allow_anonymous) {
if ($output === 'normal') {
$this->renderHelper('view/normal_view');
} elseif ($output === 'reader') {