projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
44131d8
)
debug
author
Alan
<alan@roojs.com>
Fri, 18 Aug 2023 04:27:06 +0000
(12:27 +0800)
committer
Alan
<alan@roojs.com>
Fri, 18 Aug 2023 04:27:06 +0000
(12:27 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
43bf41b
..
351d088
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-330,6
+330,7
@@
class Pman_Core_Notify extends Pman
function isBlacklisted($email)
{
// return current server id..
function isBlacklisted($email)
{
// return current server id..
+ $this->logecho("CHECK BLACKLISTED - {$email}");
if (empty($ff->Core_Notify['servers'])) {
return false;
}
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));
// 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;
}
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']));
}
return array_search(gethostname(),array_keys($ff->Core_Notify['servers']));
}