From d179f81b750617f71a0a4f4029ccd64bfdcb7a65 Mon Sep 17 00:00:00 2001 From: vincentberry Date: Fri, 25 Oct 2024 22:26:14 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(log):=20saut=20de=20ligne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suppression des saut de ligne --- ddns_update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ddns_update.php b/ddns_update.php index 409f856..cfe76a3 100644 --- a/ddns_update.php +++ b/ddns_update.php @@ -205,7 +205,7 @@ function compareAndUpdate($IP, $IP_domain, $addressIP, $domain, $sub, $types) } } -writeToLog("INFO", "\n---------------------------------"); +writeToLog("INFO", "---------------------------------"); writeToLog("INFO", "🚩 Script Start"); writeToLog("INFO", "💲ONLINE_TOKEN: " . $Online_Token); writeToLog("INFO", "💲domains: " . json_encode($domains)); @@ -237,7 +237,7 @@ function compareAndUpdate($IP, $IP_domain, $addressIP, $domain, $sub, $types) if ($userInfo === null) { writeToLog("FATAL", "⛔ Vérification de l'API Online.net a échoué."); } else { - writeToLog("INFO", "✅ API Online.net valide de " . $userInfo['last_name'] . " " . $userInfo['first_name'] . " \n"); + writeToLog("INFO", "✅ API Online.net valide de " . $userInfo['last_name'] . " " . $userInfo['first_name']); } while (true) {