From 7c5e97782fcd4f49b2067d0982cd8db65adbf3ac Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 18 Aug 2023 12:27:06 +0800 Subject: [PATCH] debug --- Notify.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Notify.php b/Notify.php index 43bf41ba..351d0888 100644 --- a/Notify.php +++ b/Notify.php @@ -330,6 +330,7 @@ class Pman_Core_Notify extends Pman function isBlacklisted($email) { // return current server id.. + $this->logecho("CHECK BLACKLISTED - {$email}"); if (empty($ff->Core_Notify['servers'])) { return false; } @@ -341,9 +342,12 @@ class Pman_Core_Notify extends Pman // get the domain.. $ea = explode('@',$email); $dom = strtolower(array_pop($ea)); + + $this->logecho("CHECK BLACKLISTED DOM - {$dom}"); if (!in_array($dom, $ff->Core_Notify['servers'][gethostname()]['blacklisted'] )) { return false; } + $this->logecho("RETURN BLACKLISTED TRUE"); return array_search(gethostname(),array_keys($ff->Core_Notify['servers'])); } -- 2.39.2