summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-12-02 15:11:13 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-12-02 15:11:13 +1100
commitc1be29ce359d054fa273fd56661d9900f88fa491 (patch)
tree583cbc673ceaeb847f64b70bb92ab8d5cd885637 /post.php
parent313012f034c13826fd2af2e4ae9d1ac36d9d0590 (diff)
ammended mod authentication system (no more $_SESSION)
Diffstat (limited to 'post.php')
-rw-r--r--post.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/post.php b/post.php
index 5dcc9424..c2466961 100644
--- a/post.php
+++ b/post.php
@@ -164,17 +164,6 @@
if(!isset($_SERVER['HTTP_REFERER']) || !preg_match($config['referer_match'], $_SERVER['HTTP_REFERER']))
error($config['error']['referer']);
- // TODO: Since we're now using static HTML files, we can't give them cookies on their first page view
- // Find another anti-spam method.
-
- /*
- // Check if he has a valid cookie.
- if(!$user['valid']) error($config['error']['bot']);
-
- // Check how long he has been here.
- if(time()-$user['appeared']<LURKTIME) error(ERROR_LURK);
- */
-
checkDNSBL();
// Check if board exists
@@ -597,6 +586,7 @@
}
+
rebuildThemes('post');
header('Location: ' . $redirect, true, $config['redirect_http']);