summaryrefslogtreecommitdiff
path: root/app/views/index/index.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-28 13:54:52 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-28 13:54:52 +0100
commit9ac1496d63da32524a33696187342ce061e9ef28 (patch)
treefc45025f1055c9a4fa2eee26240617badecef969 /app/views/index/index.phtml
parent45b2decce03e218fe7ad66479491123ce398ab1f (diff)
Bouge anon_access dans config.php
L'accès anonyme n'est pas au niveau utilisateur mais au niveau global. Bouge FreshRSS_Configuration::conf->anonAccess() qui était stocké dans *_user.php vers Minz_Configuration::allowAnonymous() stocké dans config.php Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126 + autres optimisations Contribue à https://github.com/marienfressinaud/FreshRSS/issues/260
Diffstat (limited to 'app/views/index/index.phtml')
-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 cf98060c4..2d134ba4e 100644
--- a/app/views/index/index.phtml
+++ b/app/views/index/index.phtml
@@ -7,7 +7,7 @@ $token_is_ok = ($token != '' && $token == $token_param);
if(!login_is_conf ($this->conf) ||
is_logged() ||
- $this->conf->anonAccess() == 'yes' ||
+ Minz_Configuration::allowAnonymous() ||
($output == 'rss' && $token_is_ok)) {
if($output == 'rss') {
$this->renderHelper ('view/rss_view');