|
cvs: pearweb /public_html account-request.php: msg#00031php.pear.core
arnaud Mon Oct 16 19:59:30 2006 UTC Modified files: /pearweb/public_html account-request.php Log: do not send mail on devboxes http://cvs.php.net/viewvc.cgi/pearweb/public_html/account-request.php?r1=1.63&r2=1.64&diff_format=u Index: pearweb/public_html/account-request.php diff -u pearweb/public_html/account-request.php:1.63 pearweb/public_html/account-request.php:1.64 --- pearweb/public_html/account-request.php:1.63 Sat Oct 14 16:23:25 2006 +++ pearweb/public_html/account-request.php Mon Oct 16 19:59:30 2006 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: account-request.php,v 1.63 2006/10/14 16:23:25 arnaud Exp $ + $Id: account-request.php,v 1.64 2006/10/16 19:59:30 arnaud Exp $ */ define('HTML_FORM_TH_ATTR', 'class="form-label_left"'); @@ -96,9 +96,12 @@ 'firstname' => $stripped['firstname'], 'lastname' => $stripped['lastname'], ); - $mailer = Damblan_Mailer::create('pearweb_account_request', $mailData); - $additionalHeaders['To'] = '"Arnaud Limbourg" <arnaud@xxxxxxxxxxxx>'; - $mailer->send($additionalHeaders); + + if (!DEVBOX) { + $mailer = Damblan_Mailer::create('pearweb_account_request', $mailData); + $additionalHeaders['To'] = '"Arnaud Limbourg" <arnaud@xxxxxxxxxxxx>'; + $mailer->send($additionalHeaders); + } } elseif ($ok === false) { $msg = 'Your account request has been submitted, but there' . ' were problems mailing one or more administrators.' -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: beginning plannings for PEAR for PHP6: 00031, Lukas Kahwe Smith |
|---|---|
| Next by Date: | cvs: pearweb /public_html/bugs report.php /public_html/bugs/include functions.inc: 00031, Arnaud Limbourg |
| Previous by Thread: | beginning plannings for PEAR for PHP6i: 00031, Gregory Beaver |
| Next by Thread: | cvs: pearweb /public_html/bugs report.php /public_html/bugs/include functions.inc: 00031, Arnaud Limbourg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |