From: Jason Woofenden Date: Tue, 26 Oct 2010 19:16:02 +0000 (-0400) Subject: stop including headers that should be in code/config.php X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=ac25ee0e202176e3fc86b7413605e64504220e8e stop including headers that should be in code/config.php --- diff --git a/metaform/template.php b/metaform/template.php index 138ad9d..7901f44 100644 --- a/metaform/template.php +++ b/metaform/template.php @@ -35,11 +35,8 @@ $GLOBALS['~name~_thumb_max_height'] = '70'; $GLOBALS['~name~_file_name'] = uniqid() . getmypid() . '.jpg'; # comment this out to use uploader's filename -require_once('code/wfpl/template.php'); require_once('code/wfpl/format.php'); -require_once('code/wfpl/messages.php'); -require_once('code/wfpl/email.php'); -require_once('code/db_connect.php'); +require_once('code/wfpl/email.php'); require_once('code/wfpl/upload.php'); function ~file_name~_get_fields() {