NotifySmtpCheck.php
[Pman.Core] / NotifySmtpCheck.php
index a7bddbb..f818c7b 100644 (file)
@@ -30,9 +30,10 @@ class Pman_Core_NotifySmtpCheck extends Pman
         $ifconfig = file_get_contents("https://ifconfig.co/");
         $dom = new DomDocument('1.0', 'utf-8');
         $dom->loadHTML($ifconfig);
-        print_R($dom);exit;
+        
         $xpath = new DOMXPath($dom);
-        $lists = $xpath->query("code[@class='ip]");
+        
+        $lists = $xpath->query("code[@class='ip']");
         
         
         print_R($lists);exit;