diff options
| author | czaks <marcin@6irc.net> | 2015-04-05 16:31:20 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-04-05 16:31:20 +0200 |
| commit | 34eeaccea9f3809fdfa465e9910c8fa84f836011 (patch) | |
| tree | 2cc49ddd0ff384cd3bed9c6e201ceee0b054c539 /post.php | |
| parent | cbbebcd20ced5874b97452babbffdbc6d2278d58 (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.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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()) { |
