diff options
| author | 2013-12-28 13:54:52 +0100 | |
|---|---|---|
| committer | 2013-12-28 13:54:52 +0100 | |
| commit | 9ac1496d63da32524a33696187342ce061e9ef28 (patch) | |
| tree | fc45025f1055c9a4fa2eee26240617badecef969 /app/layout/header.phtml | |
| parent | 45b2decce03e218fe7ad66479491123ce398ab1f (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/layout/header.phtml')
| -rw-r--r-- | app/layout/header.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/header.phtml b/app/layout/header.phtml index bba22508e..aeb417a6e 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -21,7 +21,7 @@ <div class="item search"> <?php if(!login_is_conf ($this->conf) || is_logged() || - $this->conf->anonAccess() == 'yes') { ?> + Minz_Configuration::allowAnonymous()) { ?> <form action="<?php echo _url ('index', 'index'); ?>" method="get"> <div class="stick"> <?php $search = Minz_Request::param ('search', ''); ?> |
