summaryrefslogtreecommitdiff
path: root/inc/mail.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-12-13 10:04:00 +0100
committerAndreas Gohr <andi@splitbrain.org>2008-12-13 10:04:00 +0100
commitfa8adffee31ae8c6e5563badf3926e523032f5e2 (patch)
treeec93ca67cbdd394aba222c1ad66a251758469dd2 /inc/mail.php
parent3dea4ebc5f730a60750f86e532775810508acae5 (diff)
downloadrpg-fa8adffee31ae8c6e5563badf3926e523032f5e2.tar.gz
rpg-fa8adffee31ae8c6e5563badf3926e523032f5e2.tar.bz2
removed some illogical path setups
darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
Diffstat (limited to 'inc/mail.php')
-rw-r--r--inc/mail.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/inc/mail.php b/inc/mail.php
index 4dfc77552..f127ea989 100644
--- a/inc/mail.php
+++ b/inc/mail.php
@@ -6,14 +6,14 @@
* @author Andreas Gohr <andi@splitbrain.org>
*/
- if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
- require_once(DOKU_INC.'inc/utf8.php');
- require_once(DOKU_INC.'inc/EmailAddressValidator.php');
-
- // end of line for mail lines - RFC822 says CRLF but postfix (and other MTAs?)
- // think different
- if(!defined('MAILHEADER_EOL')) define('MAILHEADER_EOL',"\n");
- #define('MAILHEADER_ASCIIONLY',1);
+if(!defined('DOKU_INC')) die('meh.');
+require_once(DOKU_INC.'inc/utf8.php');
+require_once(DOKU_INC.'inc/EmailAddressValidator.php');
+
+// end of line for mail lines - RFC822 says CRLF but postfix (and other MTAs?)
+// think different
+if(!defined('MAILHEADER_EOL')) define('MAILHEADER_EOL',"\n");
+#define('MAILHEADER_ASCIIONLY',1);
/**
* Patterns for use in email detection and validation