diff options
| author | 2013-11-08 17:39:48 +0100 | |
|---|---|---|
| committer | 2013-11-08 17:39:48 +0100 | |
| commit | 6e5298390686ce46b02808ad7481a11db4c86dd2 (patch) | |
| tree | 2fda25b0a730e430bc6a5ee12f53f72661701ecc | |
| parent | 17f0c56d6859b4ab122caa568a623f931d4d0b8a (diff) | |
Petits changements mineurs
| -rwxr-xr-x | app/controllers/feedController.php | 6 | ||||
| -rwxr-xr-x | public/index.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/feedController.php b/app/controllers/feedController.php index 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.php index 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); |
