diff options
author | rub <rub@piwigo.org> | 2007-02-12 23:21:23 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-02-12 23:21:23 +0000 |
commit | 9ceec74971f85022ad61699dc209d7044945b149 (patch) | |
tree | 4372d31f0ab0540c4a877cd70a1d8a4068f21657 /register.php | |
parent | 62c1993adcfc257d98e47dc7efa8633209dbac3b (diff) |
When not template are selected for mail, PWG uses default template..
Sent multi-part message in MIME format. (With only one part for the moment).
Improvement pwg_mail function.
git-svn-id: http://piwigo.org/svn/trunk@1809 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'register.php')
-rw-r--r-- | register.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/register.php b/register.php index 0218119fa..0d42a4795 100644 --- a/register.php +++ b/register.php @@ -70,10 +70,13 @@ if (isset($_POST['submit'])) .'Browser: '.$_SERVER['HTTP_USER_AGENT']."\n\n" .l10n('admin').': '.$admin_url; - pwg_mail( get_webmaster_mail_address(), '', - 'PWG '.l10n('register_title').' '.$username, - $content - ); + pwg_mail(get_webmaster_mail_address(), + array + ( + 'subject' => 'PWG '.l10n('register_title').' '.$username, + 'content' => $content + ) + ); } redirect(make_index_url()); } |