From 751a154af01ac9cacdee5309d95ea115c0cecd5a Mon Sep 17 00:00:00 2001 From: David M Date: Sat, 17 Jun 2006 11:32:07 +0000 Subject: - SQLite handling in custom profiles - Removed an extra ';' - Install works with SQLite again git-svn-id: file:///svn/phpbb/trunk@6082 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install_install.php | 4 ++-- phpBB/install/schemas/sqlite_schema.sql | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'phpBB/install') diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index da85fc527a..cb45e3d634 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -391,7 +391,7 @@ class install_install extends module { if (!$this->can_load_dll($this->available_dbms[$dbms]['MODULE'])) { - $error['db'][] = $lang['INST_ERR_NO_DB'];; + $error['db'][] = $lang['INST_ERR_NO_DB']; } } @@ -547,7 +547,7 @@ class install_install extends module } // Test against the default password rules - if ($admin_pass1 != '' && strlen($admin_pass1) < 6) + if ($admin_pass1 != '' && strlen($admin_pass1) < 4) { $error[] = $lang['INST_ERR_PASSWORD_TOO_SHORT']; } diff --git a/phpBB/install/schemas/sqlite_schema.sql b/phpBB/install/schemas/sqlite_schema.sql index 04394f2d4a..74ac458057 100644 --- a/phpBB/install/schemas/sqlite_schema.sql +++ b/phpBB/install/schemas/sqlite_schema.sql @@ -621,9 +621,8 @@ CREATE TABLE phpbb_search_results ( # Table: phpbb_search_wordlist CREATE TABLE phpbb_search_wordlist ( word_text varchar(252) NOT NULL DEFAULT '', - word_id mediumint(8) NOT NULL, - word_common tinyint(1) NOT NULL DEFAULT '0', - PRIMARY KEY (word_text) + word_id INTEGER PRIMARY KEY NOT NULL, + word_common tinyint(1) NOT NULL DEFAULT '0' ); CREATE INDEX phpbb_search_wordlist_word_id on phpbb_search_wordlist (word_id); -- cgit v1.2.1