Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
db92ebd
)
stop including headers that should be in code/config.php
author
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 Oct 2010 19:16:02 +0000
(15:16 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 Oct 2010 19:19:02 +0000
(15:19 -0400)
metaform/template.php
patch
|
blob
|
history
diff --git
a/metaform/template.php
b/metaform/template.php
index
138ad9d
..
7901f44
100644
(file)
--- 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
<!--~}~--><!--~}~-->
$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/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() {
require_once('code/wfpl/upload.php');<!--~}~-->
function ~file_name~_get_fields() {