Skip to content

Commit

Permalink
🐞 fix(log): saut de ligne
Browse files Browse the repository at this point in the history
Suppression des saut de ligne
  • Loading branch information
vincentberry committed Oct 25, 2024
1 parent 5a232f9 commit d179f81
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 @@ -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));
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit d179f81

Please sign in to comment.