Skip to content

Commit

Permalink
- Updated log message for failed internet connection check to be accu…
Browse files Browse the repository at this point in the history
…rate and instructive.
  • Loading branch information
vincentberry authored Jul 5, 2024
1 parent b659ea6 commit b15c8ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ddns_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
function writeToLog($message)
{
global $logFilePath;
file_put_contents($logFilePath, date('Y-m-d H:i:s') . " - $message\n", FILE_APPEND);
print_r($message . "\n");
file_put_contents($logFilePath, date('Y-m-d H:i:s') . " - $message", FILE_APPEND);
print_r($message);
}

// Fonction pour vérifier l'API Online.net
Expand Down

0 comments on commit b15c8ff

Please sign in to comment.