Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
metaform only sends .sql file if you check 'db'. added string_array()
[wfpl.git]
/
metaform.php
diff --git
a/metaform.php
b/metaform.php
index
b32c87e
..
656d4e0
100644
(file)
--- a/
metaform.php
+++ b/
metaform.php
@@
-357,8
+357,10
@@
function download_tar() {
".htaccess" => make_htaccess(),
"run.php ->" => 'code/wfpl/run.php',
"$name.html" => make_html(),
".htaccess" => make_htaccess(),
"run.php ->" => 'code/wfpl/run.php',
"$name.html" => make_html(),
- "$name.sql" => make_sql(),
"$name.php" => make_php());
"$name.php" => make_php());
+ if($GLOBALS['opt_db'] == 'Yes') {
+ $data["$name.sql"] = make_sql();
+ }
if($GLOBALS['opt_email'] == 'Yes') {
$data["$name.email.txt"] = make_email();
}
if($GLOBALS['opt_email'] == 'Yes') {
$data["$name.email.txt"] = make_email();
}