<?php
-# This form requires wfpl. See: http://jasonwoof.org/wfpl
+# This form requires wfpl. See: http://sametwice.com/wfpl
# SETUP
$GLOBALS['contact_robot_answer'] = 1002;
-require_once('code/wfpl/format.php');
-require_once('code/wfpl/email.php');
+require_once(INC_WFPL . 'format.php');
+require_once(INC_WFPL . 'email.php');
function contact_get_fields() {
$data = array();
$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 = '';