Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2011-01-03 08:46:28 +0300
committermattpiwik <matthieu.aubry@gmail.com>2011-01-03 08:46:28 +0300
commit97d410fd5c78155ea744a1b0fe6aae074e5f72bb (patch)
treea61e2ab4d1fb3e5576011c797131aaedf14d8631 /core/Mail.php
parentd1f63cfac9e8ff4c17b6b5d6b647ca2ec980263b (diff)
duplicate
git-svn-id: http://dev.piwik.org/svn/trunk@3564 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Mail.php')
-rw-r--r--core/Mail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Mail.php b/core/Mail.php
index 8846170ebd..691c2ccc82 100644
--- a/core/Mail.php
+++ b/core/Mail.php
@@ -31,7 +31,7 @@ class Piwik_Mail extends Zend_Mail
public function setFrom($email, $name = null)
{
- $piwikHost = @$_SERVER['HTTP_HOST'];
+ $piwikHost = Piwik_Url::getCurrentHost();
if(strlen($piwikHost) == 0)
{
$piwikHost = 'piwik.org';