logo       

cvs: pearweb /public_html account-request.php: msg#00031

php.pear.core

Subject: cvs: pearweb /public_html account-request.php

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>
Google Custom Search

News | FAQ | advertise