]> granicus.if.org Git - php/commitdiff
MFH
authorJani Taskinen <jani@php.net>
Tue, 26 Aug 2008 23:26:27 +0000 (23:26 +0000)
committerJani Taskinen <jani@php.net>
Tue, 26 Aug 2008 23:26:27 +0000 (23:26 +0000)
main/main.c

index 59bb512aa1cf50f545182e86e616b4de457aba87..533207f1880ee76206fdd2d796d2b6854ec22761 100644 (file)
@@ -352,13 +352,15 @@ static PHP_INI_MH(OnChangeMailForceExtra)
 #      define PHP_SAFE_MODE_EXEC_DIR ""
 #endif
 
-#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
+ /* Windows and Netware use the internal mail */
+#if defined(PHP_WIN32) || defined(NETWARE)
+# define DEFAULT_SENDMAIL_PATH NULL
+#elif defined(PHP_PROG_SENDMAIL)
+# define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i "
 #else
-#      define DEFAULT_SENDMAIL_PATH "/usr/sbin/sendmail -t -i" 
+# define DEFAULT_SENDMAIL_PATH "/usr/sbin/sendmail -t -i"
 #endif
+
 /* {{{ PHP_INI
  */
 PHP_INI_BEGIN()