projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c4532b
)
Fix #5648 - New design for post release report
author
Edward
<edward@roojs.com>
Fri, 18 Jan 2019 07:12:21 +0000
(15:12 +0800)
committer
Edward
<edward@roojs.com>
Fri, 18 Jan 2019 07:12:21 +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'];
}