From f4287e42a5e96cffe70d84a3c659d5be3eab46d5 Mon Sep 17 00:00:00 2001 From: kirinji Date: Sat, 29 Sep 2007 23:20:10 +0000 Subject: [PATCH] Yet even more additions and corrections. --- TODO | 4 ++++ cgi-files/Modules/Database/MySQL5.pm | 4 ++-- cgi-files/Modules/Database/SQLite.pm | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index 138a641..aa99e54 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,5 @@ - Add setting for altering the size of the large textarea boxes. +- Add the ability to switch off and on a filter. - Optimise the speed of getting filters and templates when viewing them as a list. - Allow a limit on the amount of pages viewed on each page to reduce CPU @@ -7,3 +8,6 @@ and Database load. - Add overwrite template ability when compiling. - Optimise the speed of Kiriwrite in general (seperating the code into smaller files perhaps stored in a new directory called lib). +- Attempt to replace the usage of the CGI Perl module with CGI::Lite. +- Possibly replace the use of XML files used for the configuration file +and language files to improve the speed of Kiriwrite. diff --git a/cgi-files/Modules/Database/MySQL5.pm b/cgi-files/Modules/Database/MySQL5.pm index 945704a..80bc323 100644 --- a/cgi-files/Modules/Database/MySQL5.pm +++ b/cgi-files/Modules/Database/MySQL5.pm @@ -2423,11 +2423,11 @@ sub addfilter{ } - # Check if there were any filters in the filters database. + # Check if there were any filters in the filter database. if (!$filter_count && !$new_id){ - # There were no filters in the filters database so set + # There were no filters in the filter database so set # the new filter identification value to 1. $new_id = 1; diff --git a/cgi-files/Modules/Database/SQLite.pm b/cgi-files/Modules/Database/SQLite.pm index 72ae6a5..77366c4 100644 --- a/cgi-files/Modules/Database/SQLite.pm +++ b/cgi-files/Modules/Database/SQLite.pm @@ -2161,11 +2161,11 @@ sub addfilter{ } - # Check if there were any filters in the filters database. + # Check if there were any filters in the filter database. if (!$filter_count && !$new_id){ - # There were no filters in the filters database so set + # There were no filters in the filter database so set # the new filter identification value to 1. $new_id = 1; -- 2.39.2