diff options
author | fiwswe <53953985+fiwswe@users.noreply.github.com> | 2022-09-19 18:21:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 18:21:16 +0200 |
commit | f41f896960c208d33bed8c1969774bc54f6e6c89 (patch) | |
tree | d300c1319129daec646778dd7eeebac40f4cba61 /inc | |
parent | abd8ac347eaf3f59bc8272e2ea9045b3c53ab7bc (diff) | |
download | dokuwiki-f41f896960c208d33bed8c1969774bc54f6e6c89.tar.gz dokuwiki-f41f896960c208d33bed8c1969774bc54f6e6c89.zip |
remove obsolete define of MAILHEADER_EOL
But make sure that inc/mail.php where this is defined was included.
Diffstat (limited to 'inc')
-rw-r--r-- | inc/Mailer.class.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php index 9cfa9128f..9be2d6cf8 100644 --- a/inc/Mailer.class.php +++ b/inc/Mailer.class.php @@ -11,9 +11,10 @@ use dokuwiki\Extension\Event; -// end of line for mail lines - RFC822 says CRLF but postfix (and other MTAs?) -// think different -if(!defined('MAILHEADER_EOL')) define('MAILHEADER_EOL', "\n"); +// inc/mail.php should have been included at this point to define MAILHEADER_EOL. +// Make sure that is the case: +require_once(DOKU_INC.'inc/mail.php'); + #define('MAILHEADER_ASCIIONLY',1); /** |