diff --git a/locales/fr_FR/translations.php b/locales/fr_FR/translations.php index d513432..c27c684 100644 --- a/locales/fr_FR/translations.php +++ b/locales/fr_FR/translations.php @@ -1,6 +1,7 @@ 'Aucun message', 'flush messages' => 'supprimer les messages', 'API endpoint:' => 'URL de l\'API : ', 'API username:' => 'Identifiant pour l\'API : ', diff --git a/templates/console.php b/templates/console.php index d698e9c..c8cb7dd 100644 --- a/templates/console.php +++ b/templates/console.php @@ -7,7 +7,7 @@ -

+

diff --git a/vendor/PicoFeed/Client.php b/vendor/PicoFeed/Client.php index 8e00ced..52960cc 100644 --- a/vendor/PicoFeed/Client.php +++ b/vendor/PicoFeed/Client.php @@ -56,6 +56,7 @@ abstract class Client if ($response['status'] == 304) { $this->is_modified = false; + Logging::log(\get_called_class().' Resource not modified'); } else { $this->etag = isset($response['headers']['ETag']) ? $response['headers']['ETag'] : ''; @@ -74,7 +75,6 @@ abstract class Client foreach ($lines as $line) { if (strpos($line, 'HTTP') === 0/* && strpos($line, '301') === false && strpos($line, '302') === false*/) { - $status = (int) substr($line, 9, 3); } else if (strpos($line, ':') !== false) { @@ -87,7 +87,7 @@ abstract class Client Logging::log(\get_called_class().' HTTP status code: '.$status); foreach ($headers as $name => $value) { - Logging::log(\get_called_class().' HTTP headers: '.$name.' => '.$value); + Logging::log(\get_called_class().' HTTP header: '.$name.' => '.$value); } return array($status, $headers);