aboutsummaryrefslogtreecommitdiff
path: root/app/FreshRSS.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-01 12:23:12 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-01 12:23:12 +0100
commit5e9c60752c9a40e1540de50d02e19ba1d06e5491 (patch)
tree905b7bde4ccdfaa1ae200e6f0f5c3e48686cd194 /app/FreshRSS.php
parent1a48165a442a05071f57eb02edf877c492fb2afd (diff)
Actualize : Tolère PHP lancé en CGI plutôt que CLI
Corrige https://github.com/marienfressinaud/FreshRSS/issues/405 + Message d'erreur en cas de problème de droits dans ./data/ (par exemple si le cron utilise un mauvais utilisateur)
Diffstat (limited to 'app/FreshRSS.php')
-rw-r--r--app/FreshRSS.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index c51f91dec..84cf3429b 100644
--- a/app/FreshRSS.php
+++ b/app/FreshRSS.php
@@ -94,10 +94,6 @@ class FreshRSS extends Minz_FrontController {
$loginOk = false;
break;
}
- if ((!$loginOk) && (PHP_SAPI === 'cli') && (Minz_Request::actionName() === 'actualize')) { //Command line
- Minz_Configuration::_authType('none');
- $loginOk = true;
- }
}
Minz_View::_param ('loginOk', $loginOk);
return $loginOk;