summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2008-08-26 23:26:27 +0000
committerJani Taskinen <jani@php.net>2008-08-26 23:26:27 +0000
commit77e07a631a7d74ce15325c2ca7f23526f59fd5a0 (patch)
tree36b1d6d95928306e24721f7337f471b4aa1885f8 /main
parente83e18b8f87f2d7442c23291c01b4ca66a98f1d3 (diff)
downloadphp-git-77e07a631a7d74ce15325c2ca7f23526f59fd5a0.tar.gz
MFH
Diffstat (limited to 'main')
-rw-r--r--main/main.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/main/main.c b/main/main.c
index 59bb512aa1..533207f188 100644
--- a/main/main.c
+++ b/main/main.c
@@ -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()