From ffa8e8b39f3b823aa25f8762503b28e65d9f89c7 Mon Sep 17 00:00:00 2001 From: fuzzykitten Date: Fri, 7 Mar 2025 10:35:16 -0500 Subject: [PATCH] added new parameters and debug option --- etc/config.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/config.php b/etc/config.php index 9d96212..503474d 100644 --- a/etc/config.php +++ b/etc/config.php @@ -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