Code Comments
Programming Forum and web based access to our favorite programming groups.dufuz Fri Apr 22 21:52:40 2005 EDT Modified files: /php-bugs-web report.php Log: Do not email if DEVBOX is set to true. http://cvs.php.net/diff.php/php-bug...58&r2=1.59&ty=u Index: php-bugs-web/report.php diff -u php-bugs-web/report.php:1.58 php-bugs-web/report.php:1.59 --- php-bugs-web/report.php:1.58 Fri Apr 22 09:25:08 2005 +++ php-bugs-web/report.php Fri Apr 22 21:52:39 2005 @@ -178,7 +178,7 @@ $extra_headers.= "Message-ID: <bug-$cid@bugs.php.net>"; // mail to appropriate mailing lists - if (mail($mailto, "#$cid [NEW]: $sdesc", $ascii_report."1\n-- \n$dev_extra", $extra_headers)) { + if (!DEVBOX && mail($mailto, "#$cid [NEW]: $sdesc", $ascii_report."1\n-- \n$d ev_extra", $extra_headers)) { // mail to reporter @mail($email, "Bug #$cid: $sdesc", $ascii_report."2\n", "From: PHP Bug Datab ase <$mailfrom>\nX-PHP-Bug: $cid\nMessage-ID: <bug-$cid@bugs.php.net>"); @@ -278,9 +278,9 @@ </tr> <tr> <th align="right">CAPTCHA:</th> - <td colspan="2"><font size="-1"> - <?php echo generate_captcha(); ?> - </font></td> + <td colspan="2"><font size="-1"> + <?php echo generate_captcha(); ?> + </font></td> </tr> </table>
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.