added new parameters and debug option

main
fuzzykitten 2025-03-07 10:35:16 -05:00
parent e7691a0136
commit ffa8e8b39f
1 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,7 @@ $settings = array(
"enable_timestamps" => TRUE, // should timestamps be offered to be generated and displayed if present
"enable_tripcodes" => TRUE, // enable the automatic generation of secure tripcodes with each message, and optionally the use of
// custom tripkeys. Display tripcodes if present.
"prefix_autogen" => '_', // the prefix that will be used to autogenerate the name part for secure tripcodes
"enable_edit" => TRUE, // enable the editing of posts with valid name/tripkey combination. Display editing history.
"enable_portal" => TRUE, // show a portal page to first time visitors that they have to click away
"enable_portal_mobile" => TRUE, // show a portal page to first time visitors that they have to click away, for the mobile site
@ -80,7 +81,8 @@ $settings = array(
"lifetime_token" => 5, // the lifetime of an access token for an admin or mod in minutes. After that a new login is needed.
"original_content_thread" => FALSE, // do not allow the same text to be posted twice in the same thread
"original_content_sub" => TRUE, // do not allow the same text to be posted twice in the same sub, including all threads on the sub (overrides previous if TRUE)
"original_content_global" => FALSE // do not allow the same text to be posted twice on the board, including all subs and all threads (overrides both before if TRUE)
"original_content_global" => FALSE, // do not allow the same text to be posted twice on the board, including all subs and all threads (overrides both before if TRUE)
"debug" => FALSE // if true, collect all data from each request (from $_SERVER) in the file /va/opt/endboard/debug_server.txt
);
// For easy editing, the landinpage is here in the config file