JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
stop including headers that should be in code/config.php
authorJason Woofenden <jason@jasonwoof.com>
Tue, 26 Oct 2010 19:16:02 +0000 (15:16 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Tue, 26 Oct 2010 19:19:02 +0000 (15:19 -0400)
metaform/template.php

index 138ad9d..7901f44 100644 (file)
@@ -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');<!--~opt_db {~-->
-require_once('code/db_connect.php');<!--~}~--><!--~uploads_include {~-->
+require_once('code/wfpl/email.php');<!--~uploads_include {~-->
 require_once('code/wfpl/upload.php');<!--~}~-->
 
 function ~file_name~_get_fields() {