NotifySmtpCheck.php
authorAlan Knowles <alan@roojs.com>
Mon, 25 Jul 2016 04:39:31 +0000 (12:39 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 25 Jul 2016 04:39:31 +0000 (12:39 +0800)
NotifySmtpCheck.php

index 6408019..e4887ef 100644 (file)
@@ -79,7 +79,7 @@ class Pman_Core_NotifySmtpCheck extends Pman
     {
         $ifconfig = file_get_contents("https://ifconfig.co/");
         $dom = new DomDocument('1.0', 'utf-8');
-        $dom->loadHTML($ifconfig);
+        @$dom->loadHTML($ifconfig);
         
         $xpath = new DOMXPath($dom);