]> granicus.if.org Git - php/commitdiff
- MFB: #42505, new sendmail default path breaks on Novell (Guenter Knauf)
authorPierre Joye <pajoye@php.net>
Wed, 5 Mar 2008 21:20:14 +0000 (21:20 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 5 Mar 2008 21:20:14 +0000 (21:20 +0000)
main/main.c

index 6996863aae79f10c8c6861e303ddab1cb951217f..103099c304e0ed0d427f6551be58373d2634d8d3 100644 (file)
@@ -460,9 +460,8 @@ static PHP_INI_MH(OnChangeMailForceExtra)
  * PHP_INCLUDE_PATH
  */
 
-#if defined(PHP_PROG_SENDMAIL) && !defined(NETWARE)
-#      define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i "
-#elif defined(PHP_WIN32)
+/* Windows and Netware use the internal mail */
+#if defined(PHP_WIN32) || defined(NETWARE)
 #      define DEFAULT_SENDMAIL_PATH NULL
 #else
 #      define DEFAULT_SENDMAIL_PATH "/usr/sbin/sendmail -t -i"