Project

General

Profile

« Previous | Next » 

Revision 1934

Added by darkviper over 11 years ago

/account/signup added posibility for different mailto address
/install/save.php modified internal comment

View differences:

signup_mails.php
48 48
				$replace = array($email_to, $email_fromname.' ('.$user_id.')', date(DATE_FORMAT.' '.TIME_FORMAT,$get_ts ), $sLoginName, $get_ip);
49 49
				$mail_message = str_replace($search, $replace, $mail_message);
50 50
				$email_body = preg_replace( "/(content-type:|bcc:|cc:|to:|from:)/im", "", $mail_message );
51
				$success_email_to = emailAdmin();
52

  
51
				$success_email_to = ((defined('OWNER_EMAIL') && OWNER_EMAIL != '') ? OWNER_EMAIL : emailAdmin());
53 52
				$bSendRegistrationMailtoAdmin = $wb->mail($sServerEmail,$success_email_to,$email_subject,$email_body,$mail_replyName,$mail_replyto);
54 53

  
55 54
// prepare confirmation mail to user, easy old style

Also available in: Unified diff