From 81831505e2abd136c062128d5eb45aa4bcc1af05 Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Thu, 21 Sep 2023 15:19:03 -0400 Subject: [PATCH] Fix up config for production --- inc/instance-config.php | 60 +++++++++++++++++++++++++++++------------ 1 file changed, 43 insertions(+), 17 deletions(-) diff --git a/inc/instance-config.php b/inc/instance-config.php index c3c68f37..ad67e0a0 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -13,11 +13,23 @@ */ $config['boards'] = array( - array( - 'b', - 'leftypol', - 'Test' - ) + array( + 'leftypol', + 'b', + 'WRK', + 'hobby', + 'tech', + 'edu', + 'ga', + 'ent', + '777', + 'posad', + 'i', + 'a', + 'R9K', + 'dead' + ), + array('meta') ); $config['prepended_foreign_boards'] = array( @@ -29,9 +41,23 @@ $config['prepended_foreign_boards'] = array( // Board categories. Only used in the "Categories" theme. $config['categories'] = array( - 'Leftychan' => array( - 'b', - ) + 'Leftypol' => array( + 'leftypol', + 'b', + 'WRK', + 'hobby', + 'tech', + 'edu', + 'ga', + 'ent', + '777', + 'posad', + 'i', + 'a', + 'R9K', + 'dead' + ), + 'Meta' => array('meta') ); // Optional for the Categories theme. This is an array of name => (title, url) groups for categories @@ -67,11 +93,11 @@ $config['cookies']['mod'] = 'mod'; $config['cookies']['salt'] = 'MGYwNjhlNjU5Y2QxNWU3YjQ3MzQ1Yj'; $config['search']['enable'] = true; -$config['flood_cache'] = 0; // 15 minutes. The oldest a post can be in the flood table -$config['flood_time_any'] = -1; // time between thread creation -$config['flood_time'] = -1; -$config['flood_time_ip'] = -1; -$config['flood_time_same'] = -1; +$config['flood_cache'] = 60 * 15; // 15 minutes. The oldest a post can be in the flood table +$config['flood_time_any'] = 20; // time between thread creation +$config['flood_time'] = 5; +$config['flood_time_ip'] = 10; +$config['flood_time_same'] = 60; $config['max_body'] = 80000; $config['reply_limit'] = 600; $config['max_links'] = 40; @@ -107,9 +133,9 @@ $config['thread_subject_in_title'] = true; $config['spam']['enabled'] = true; $config['spam_noticer']['enabled'] = true; $config['spam_noticer']['base_url'] = 'http://localhost:8300'; -$config['spam_noticer']['ui_url'] = 'https://dev-spamnoticer.leftychan.net/static/index.html'; -$config['spam_noticer']['imageboard_root'] = 'http://dev.leftychan.net/'; -$config['spam_noticer']['website_name'] = "leftychan_dev"; +$config['spam_noticer']['ui_url'] = 'https://spamnoticer.leftychan.net/static/index.html'; +$config['spam_noticer']['imageboard_root'] = 'http://leftychan.net/'; +$config['spam_noticer']['website_name'] = "leftychan"; /* * Basic captcha. See also: captchaconfig.php @@ -506,4 +532,4 @@ $config['filters'][] = array( ); $config['global_message'] = '

Matrix

IRC Chat

Mumble

Telegram

Discord

'; -$config['debug'] = true; +$config['debug'] = false;