projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
4d91a1a
)
Merge branch 'master' of http://git.roojs.com/Pman.Core
author
Edward
<edward@roojs.com>
Fri, 18 Jan 2019 07:12:32 +0000
(15:12 +0800)
committer
Edward
<edward@roojs.com>
Fri, 18 Jan 2019 07:12:32 +0000
(15:12 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
23fb875
..
af62173
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-122,7
+122,7
@@
class Pman_Core_Mailer {
$ff = HTML_FlexyFramework::get();
$http_host = isset($_SERVER["HTTP_HOST"]) ? $_SERVER["HTTP_HOST"] : 'pman.HTTP_HOST.not.set';
- if (isset($ff->Pman['HTTP_HOST'])) {
+ if (isset($ff->Pman['HTTP_HOST'])
&& $http_host != 'localhost'
) {
$http_host = $ff->Pman['HTTP_HOST'];
}