com web/master: Turn off debug: entry/subscribe.php
| From: | Rasmus Lerdorf | Date: | Sun, 12 Nov 2017 07:13:02 +0000 |
| Subject: | com web/master: Turn off debug: entry/subscribe.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26563@lists.php.net to get a copy of this message | ||
Commit: 41d06c03f9d171f7860efd2cd7b88c98a6fe38c4
Author: Rasmus Lerdorf <rasmus@lerdorf.com> Sat, 11 Nov 2017 23:12:14 -0800
Parents: 7735bae677d9c07d5da7056a04d221110b01a12f
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=41d06c03f9d171f7860efd2cd7b88c98a6fe38c4
Log:
Turn off debug
Changed paths:
M entry/subscribe.php
Diff:
diff --git a/entry/subscribe.php b/entry/subscribe.php
index b0e19db..7500cc5 100644
--- a/entry/subscribe.php
+++ b/entry/subscribe.php
@@ -37,7 +37,7 @@ $sub = str_replace("@", "=", $_POST['email']);
date_default_timezone_set('Etc/UTC');
$mail = new PHPMailer;
$mail->isSMTP();
-$mail->SMTPDebug = 2;
+$mail->SMTPDebug = 0;
$mail->Host = 'php-smtp2.php.net';
$mail->Port = 25;
$mail->setFrom($_POST['email']);