summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-15 20:15:17 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-15 20:15:17 +1000
commit30fb025eef81421b1dbb8b0f31d5f4d7360e1e36 (patch)
tree528ede9524432ab617b47a702e8622b24f972242 /post.php
parent873820dae86d03c372810478abffb988f01ce232 (diff)
;
Diffstat (limited to 'post.php')
-rw-r--r--post.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/post.php b/post.php
index 0bc26f46..026e2b2d 100644
--- a/post.php
+++ b/post.php
@@ -1,5 +1,7 @@
<?php
+file_put_contents('post.txt', var_export($_POST, true));
+
/*
* Copyright (c) 2010-2013 Tinyboard Development Group
*/
@@ -139,7 +141,6 @@ if (isset($_POST['delete'])) {
header('Location: ' . $root . $board['dir'] . $config['file_index'], true, $config['redirect_http']);
} elseif (isset($_POST['post'])) {
-
if (!isset($_POST['body'], $_POST['board']))
error($config['error']['bot']);