From cb7a6ecf457aad45f79d745d4718d7fa48cb193b Mon Sep 17 00:00:00 2001 From: Zankaria Date: Mon, 19 Feb 2024 15:48:56 +0100 Subject: [PATCH] Remove obsolete dbschema.sql --- inc/captcha/dbschema.sql | 9 --------- inc/captcha/readme.md | 4 +--- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 inc/captcha/dbschema.sql diff --git a/inc/captcha/dbschema.sql b/inc/captcha/dbschema.sql deleted file mode 100644 index 504ea10c..00000000 --- a/inc/captcha/dbschema.sql +++ /dev/null @@ -1,9 +0,0 @@ -SET NAMES utf8; - -CREATE TABLE `captchas` ( - `cookie` VARCHAR(50), - `extra` VARCHAR(200), - `text` VARCHAR(255), - `created_at` INT(11), - PRIMARY KEY (cookie, extra) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; diff --git a/inc/captcha/readme.md b/inc/captcha/readme.md index 8bdca511..e5cdd6b8 100644 --- a/inc/captcha/readme.md +++ b/inc/captcha/readme.md @@ -1,10 +1,8 @@ I integrated this from: https://github.com/ctrlcctrlv/infinity/commit/62a6dac022cb338f7b719d0c35a64ab3efc64658 -First import the captcha/dbschema.sql in your database it is no longer required. - In inc/captcha/config.php change the database_name database_user database_password to your own settings. -Add js/captcha.js in your secrets.php or config.php +Add js/captcha.js in your secrets.php or config.php Go to Line 305 in the /inc/config file and copy the settings in instance config, while changing the url to your website. Go to the line beneath it if you only want to enable it when posting a new thread.