diff options
Diffstat (limited to 'include/enotify.php')
-rw-r--r-- | include/enotify.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/enotify.php b/include/enotify.php index ca134ac86..fe0f128b6 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -13,13 +13,16 @@ function notification($params) { $banner = t('Friendica Notification'); $product = FRIENDICA_PLATFORM; - $siteurl = z_path(); + $siteurl = $a->get_baseurl(true); $thanks = t('Thank You,'); $sitename = get_config('config','sitename'); $site_admin = sprintf( t('%s Administrator'), $sitename); $sender_name = $product; $hostname = $a->get_hostname(); + if(strpos($hostname,':')) + $hostname = substr($hostname,0,strpos($hostname,':')); + $sender_email = t('noreply') . '@' . $hostname; $additional_mail_header = ""; |