mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-17 19:29:28 +01:00
infinity/smart-build: move a require to instance-functions
This commit is contained in:
parent
ab74235a4b
commit
1670da07cb
@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
* You can copy values from config.php (defaults) and paste them here.
|
* 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";
|
require_once "instance-functions.php";
|
||||||
|
|
||||||
// Note - you may want to change some of these in secrets.php instead of here
|
// Note - you may want to change some of these in secrets.php instead of here
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
require_once("inc/8chan-functions.php");
|
require_once("inc/8chan-functions.php");
|
||||||
require_once("inc/8chan-mod-pages.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) {
|
function max_posts_per_hour($post) {
|
||||||
global $config, $board;
|
global $config, $board;
|
||||||
if (!$config['hour_max_threads']) return false;
|
if (!$config['hour_max_threads']) return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user