From 9a4594fd82717c91b3a195a33f8b8607c0e08353 Mon Sep 17 00:00:00 2001 From: Guillaume Barbe Date: Mon, 7 Dec 2015 13:24:32 -0500 Subject: [PATCH] Added support for .co, which has the same layout as .cc --- bureau/class/m_dom.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bureau/class/m_dom.php b/bureau/class/m_dom.php index 712692cc..d7ed3ff5 100644 --- a/bureau/class/m_dom.php +++ b/bureau/class/m_dom.php @@ -987,6 +987,14 @@ class m_dom { } } break; + case "co": + if (preg_match("#Name Server:#", $ligne)) { + $found = true; + $tmp = strtolower(str_replace(chr(10), "", str_replace(chr(13), "", str_replace(" ", "", str_replace("Name Server:", "", $ligne))))); + if ($tmp) + $serveurList[] = $tmp; + } + break; case "cx": $ligne = str_replace(chr(10), "", str_replace(chr(13), "", str_replace(" ", "", $ligne))); if ($ligne == "" && $state == 1) {