1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 15:40:12 +01:00

infinity/smart-build: move a require to instance-functions

This commit is contained in:
czaks 2015-04-06 22:55:52 +02:00
parent ab74235a4b
commit 1670da07cb
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,6 @@
*
* You can copy values from config.php (defaults) and paste them here.
*/
require_once "lib/htmlpurifier-4.6.0/library/HTMLPurifier.auto.php";
require_once "instance-functions.php";
// Note - you may want to change some of these in secrets.php instead of here

View File

@ -2,6 +2,9 @@
require_once("inc/8chan-functions.php");
require_once("inc/8chan-mod-pages.php");
require_once "lib/htmlpurifier-4.6.0/library/HTMLPurifier.auto.php";
function max_posts_per_hour($post) {
global $config, $board;
if (!$config['hour_max_threads']) return false;