]> granicus.if.org Git - php/commitdiff
- MFH: Fix #42164 Internal Sendmail Support is ALWAYS disabled
authorJohannes Schlüter <johannes@php.net>
Wed, 1 Aug 2007 12:49:34 +0000 (12:49 +0000)
committerJohannes Schlüter <johannes@php.net>
Wed, 1 Aug 2007 12:49:34 +0000 (12:49 +0000)
main/main.c

index 53d2d777924efb7e8014bef9b9a320fd2f6b4f4b..9bdc86e28ff99615a1cdcec889afd223e615c36c 100644 (file)
@@ -314,6 +314,8 @@ static PHP_INI_DISP(display_errors_mode)
 
 #if defined(PHP_PROG_SENDMAIL) && !defined(NETWARE)
 #      define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i "
+#elif defined(PHP_WIN32)
+#      define DEFAULT_SENDMAIL_PATH NULL
 #else
 #      define DEFAULT_SENDMAIL_PATH "/usr/sbin/sendmail -t -i" 
 #endif