projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2270e73
)
allowed_email matching $host instead of $domain
author
Friendika
<info@friendika.com>
Thu, 10 Mar 2011 07:35:47 +0000
(23:35 -0800)
committer
Friendika
<info@friendika.com>
Thu, 10 Mar 2011 07:35:47 +0000
(23:35 -0800)
boot.php
patch
|
blob
|
history
diff --git
a/boot.php
b/boot.php
index 7dd188ee715129be2bc80f2db1981e4d831f29ad..4c3a923dcea2e52644dea55e826aface43047192 100644
(file)
--- a/
boot.php
+++ b/
boot.php
@@
-1825,7
+1825,7
@@
function allowed_email($email) {
if(count($allowed)) {
foreach($allowed as $a) {
$pat = strtolower(trim($a));
- if(($fnmatch && fnmatch($pat,$
host)) || ($pat == $host
)) {
+ if(($fnmatch && fnmatch($pat,$
domain)) || ($pat == $domain
)) {
$found = true;
break;
}