forked from leftypol/leftypol
optimization: we don`t need bans.php most of the time and bans.php has big dependencies
This commit is contained in:
parent
cbbebcd20c
commit
34eeaccea9
3 changed files with 7 additions and 6 deletions
5
post.php
5
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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue