File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1734,7 +1734,7 @@ dnl Search for the sendmail binary.
1734
1734
dnl
1735
1735
AC_DEFUN ( [ PHP_PROG_SENDMAIL] , [
1736
1736
PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
1737
- AC_PATH_PROG ( PROG_SENDMAIL , sendmail ,[ ] , $PATH:$PHP_ALT_PATH )
1737
+ AC_PATH_PROG ( PROG_SENDMAIL , sendmail , / usr/sbin/sendmail , $PATH:$PHP_ALT_PATH )
1738
1738
PHP_SUBST(PROG_SENDMAIL)
1739
1739
] )
1740
1740
Original file line number Diff line number Diff line change @@ -688,10 +688,8 @@ PHP_INI_MH(OnChangeBrowscap);
688
688
/* Windows use the internal mail */
689
689
#if defined(PHP_WIN32 )
690
690
# define DEFAULT_SENDMAIL_PATH NULL
691
- #elif defined(PHP_PROG_SENDMAIL )
692
- # define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i "
693
691
#else
694
- # define DEFAULT_SENDMAIL_PATH "/usr/sbin/sendmail -t -i"
692
+ # define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i"
695
693
#endif
696
694
697
695
/* {{{ PHP_INI
You can’t perform that action at this time.
0 commit comments