From ac25ee0e202176e3fc86b7413605e64504220e8e Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Tue, 26 Oct 2010 15:16:02 -0400 Subject: [PATCH] stop including headers that should be in code/config.php --- metaform/template.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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() { -- 1.7.10.4