summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2007-07-11 17:36:56 +0000
committerJohannes Schlüter <johannes@php.net>2007-07-11 17:36:56 +0000
commitdc8d09bbbde45cfcc15907976c8bb5dd12fed64a (patch)
tree8e70c176ed1cca66281927f36ba180658398e847 /main
parent90b9d6241e4a360288ed00fae0eeab0aee1cb7ca (diff)
downloadphp-git-dc8d09bbbde45cfcc15907976c8bb5dd12fed64a.tar.gz
- MFH: Always enable mail() function
Diffstat (limited to 'main')
-rw-r--r--main/config.w32.h1
-rw-r--r--main/main.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/main/config.w32.h b/main/config.w32.h
index 7292eed378..a86b9cffb6 100644
--- a/main/config.w32.h
+++ b/main/config.w32.h
@@ -118,7 +118,6 @@
#undef HAVE_SETITIMER
#undef HAVE_IODBC
#define HAVE_LIBDL 1
-#define HAVE_SENDMAIL 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_PUTENV 1
#define HAVE_LIMITS_H 1
diff --git a/main/main.c b/main/main.c
index 38c9769c9b..e55f26c8eb 100644
--- a/main/main.c
+++ b/main/main.c
@@ -231,7 +231,7 @@ static PHP_INI_MH(OnUpdateTimeout)
#if defined(PHP_PROG_SENDMAIL) && !defined(NETWARE)
# define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i "
#else
-# define DEFAULT_SENDMAIL_PATH NULL
+# define DEFAULT_SENDMAIL_PATH "/usr/sbin/sendmail -t -i"
#endif
/* {{{ PHP_INI
*/