summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'shared/functions/xhtmlemail.php')
-rw-r--r--shared/functions/xhtmlemail.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/functions/xhtmlemail.php b/shared/functions/xhtmlemail.php
index 2e71388..d4924f7 100644
--- a/shared/functions/xhtmlemail.php
+++ b/shared/functions/xhtmlemail.php
@@ -1,14 +1,14 @@
<?php
// Sends an XHTML email with the appropriate headers and the necessary opening and closing for an XHTML document
function xhtmlemail($to,$from,$subj,$cont,$inheads=null) {
- global $conf;
+ global $S;
if ($from===null) {
- $from=$conf['emailfrom'];
+ $from=$S['conf']['emailfrom'];
}
$heads='MIME-Version: 1.0' . "\r\n";
$heads.='Content-type: text/html; charset=utf-8' . "\r\n";
$heads.='From: '.$from."\r\n";
- $heads.='X-Mailer: PHP/'.$conf['title']."\r\n";
+ $heads.='X-Mailer: PHP/'.$S['conf']['title']."\r\n";
if ($inheads!==null) {
$heads.=$inheads."\r\n";
}