]> granicus.if.org Git - php/commitdiff
MFH: sendmail mess cleared (PHP_PROG_SENDMAIL was not used at all, see also bug ...
authorJani Taskinen <jani@php.net>
Tue, 26 Aug 2008 23:19:22 +0000 (23:19 +0000)
committerJani Taskinen <jani@php.net>
Tue, 26 Aug 2008 23:19:22 +0000 (23:19 +0000)
main/main.c

index 7925626635f0e304d2258957dba5edc3a2fbb2c2..59bb512aa1cf50f545182e86e616b4de457aba87 100644 (file)
@@ -352,8 +352,9 @@ static PHP_INI_MH(OnChangeMailForceExtra)
 #      define PHP_SAFE_MODE_EXEC_DIR ""
 #endif
 
-/* Windows and Netware use the internal mail */
-#if defined(PHP_WIN32) || defined(NETWARE)
+#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"