From: Jason Woofenden Date: Fri, 8 Aug 2014 17:43:48 +0000 (-0400) Subject: no need to call this_host() again X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=commitdiff_plain;h=1a0f752b1d93c50cc8caa3703452fdca6f97b936 no need to call this_host() again --- diff --git a/contact.php b/contact.php index 86fccb9..743a953 100644 --- a/contact.php +++ b/contact.php @@ -58,7 +58,7 @@ function contact_main_form($id = false) { $email_template = new tem(); $email_template->load('contact.email.txt'); $email_template->sets($data); - $email_template->set('$host', this_host()); + $email_template->set('$host', $host); $message = $email_template->run(); $cc = ''; $bcc = '';