From: Alan Knowles Date: Mon, 25 Jul 2016 04:39:31 +0000 (+0800) Subject: NotifySmtpCheck.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=3342f50468da6145fefaaf4cbc7d8d880662d7da NotifySmtpCheck.php --- diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index 6408019d..e4887ef3 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -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);