summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-04-05 16:31:20 +0200
committerczaks <marcin@6irc.net>2015-04-05 16:31:20 +0200
commit34eeaccea9f3809fdfa465e9910c8fa84f836011 (patch)
tree2cc49ddd0ff384cd3bed9c6e201ceee0b054c539 /post.php
parentcbbebcd20ced5874b97452babbffdbc6d2278d58 (diff)
optimization: we don`t need bans.php most of the time and bans.php has big dependencies
Diffstat (limited to 'post.php')
-rw-r--r--post.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/post.php b/post.php
index 09a5f53f..2b903b1c 100644
--- a/post.php
+++ b/post.php
@@ -3,8 +3,9 @@
* Copyright (c) 2010-2014 Tinyboard Development Group
*/
-require 'inc/functions.php';
-require 'inc/anti-bot.php';
+require_once 'inc/functions.php';
+require_once 'inc/anti-bot.php';
+require_once 'inc/bans.php';
// Fix for magic quotes
if (get_magic_quotes_gpc()) {