Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
css tweak
[wfpl-cms.git]
/
contact.php
diff --git
a/contact.php
b/contact.php
index
86fccb9
..
00176d7
100644
(file)
--- a/
contact.php
+++ b/
contact.php
@@
-1,6
+1,6
@@
<?php
<?php
-# This form requires wfpl. See: http://jasonwoof.org/wfpl
+# This form requires wfpl. See: http://sametwice.com/wfpl
# SETUP
# SETUP
@@
-9,8
+9,8
@@
$GLOBALS['contact_form_recipient'] = 'fixme@example.com';
$GLOBALS['contact_robot_answer'] = 1002;
$GLOBALS['contact_robot_answer'] = 1002;
-require_once('code/wfpl/format.php');
-require_once('code/wfpl/email.php');
+require_once(DOCROOT . 'inc/wfpl/format.php');
+require_once(DOCROOT . 'inc/wfpl/email.php');
function contact_get_fields() {
$data = array();
function contact_get_fields() {
$data = array();
@@
-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 = 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 = '';
$message = $email_template->run();
$cc = '';
$bcc = '';