diff options
author | friendica <info@friendica.com> | 2013-09-08 22:56:53 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-08 22:56:53 -0700 |
commit | 6b0c8831ffc5ae3b5cf707e04eb38c742ffd74f3 (patch) | |
tree | 43e516368985c249201fba7b822c1cdd2e2a1d34 /boot.php | |
parent | 2c90a73695df8435557895eafa5d77bc0c6b9839 (diff) | |
download | volse-hubzilla-6b0c8831ffc5ae3b5cf707e04eb38c742ffd74f3.tar.gz volse-hubzilla-6b0c8831ffc5ae3b5cf707e04eb38c742ffd74f3.tar.bz2 volse-hubzilla-6b0c8831ffc5ae3b5cf707e04eb38c742ffd74f3.zip |
fix the recipient and subject localisation of failed update emails
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1234,10 +1234,10 @@ function check_config(&$a) { '$error' => sprintf( t('Update %s failed. See error logs.'), $x) )); - $subject=sprintf(t('Update Error at %s'), $a->get_baseurl()); + $subject = email_header_encode(sprintf(t('Update Error at %s'), $a->get_baseurl())); - mail($a->config['admin_email'], $subject, $email_msg, - 'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] . "\n" + mail($a->config['system']['admin_email'], $subject, $email_msg, + 'From: Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" . 'Content-type: text/plain; charset=UTF-8' . "\n" . 'Content-transfer-encoding: 8bit' ); //try the logger |