A free, self-hostable news aggregator…
Petits changements mineurs
Alexandre Alapetite6e5298390686
diff --git a/app/controllers/feedController.php b/app/controllers/feedController.phpindex f14ed7997..0fd362065 100755--- a/app/controllers/feedController.php+++ b/app/controllers/feedController.php@@ -186,7 +186,7 @@ class feedController extends ActionController {$entryDAO->cleanOldEntries ($nb_month_old);$url = array ();- if ($flux_update == 1) {+ if ($flux_update === 1) {// on a mis un seul flux à jour$notif = array ('type' => 'good',@@ -206,14 +206,14 @@ class feedController extends ActionController {);}- if($i == 1) {+ if ($i === 1) {// Si on a voulu mettre à jour qu'un flux// on filtre l'affichage par ce flux$feed = reset ($feeds);$url['params'] = array ('get' => 'f_' . $feed->id ());}- if (Request::param ('ajax', 0) == 0) {+ if (Request::param ('ajax', 0) === 0) {Session::_param ('notification', $notif);Request::forward ($url, true);} else {diff --git a/public/index.php b/public/index.phpindex 10292d111..9eee5dc54 100755--- a/public/index.php+++ b/public/index.php@@ -31,7 +31,7 @@ if (file_exists (PUBLIC_PATH . '/install.php')) {session_cache_limiter('');require (LIB_PATH . '/http-conditional.php');$dateLastModification = max(filemtime(PUBLIC_PATH . '/data/touch.txt'),- filemtime(LOG_PATH . '/application.log'),+ @filemtime(LOG_PATH . '/application.log'),filemtime(PUBLIC_PATH . '/data/Configuration.array.php'),filemtime(APP_PATH . '/configuration/application.ini'),time() - 14400);