CF double notification fix

This commit is contained in:
Filip 2020-04-29 11:42:42 +02:00
parent 7854522f94
commit 549c696ab3

View File

@ -53,9 +53,12 @@ if ( $isIP ) {
if ( $dns ) {
foreach ( array_reverse( $dns ) as $ns ) {
if ( strpos( $ns['target'] , 'cloudflare.com' ) !== false ) {
echo '<span style="color: red;">This is a Cloud Flare domain.</span>';
$cf = true;
}
}
if ( $cf ) {
echo '<span style="color: red;"> This is a Cloud Flare domain.</span>';
}
}
if ( $ip == $host ) {