diff --git a/ddns_update.php b/ddns_update.php index 7ff42fd..c5ba36d 100644 --- a/ddns_update.php +++ b/ddns_update.php @@ -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