1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

- 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
This commit is contained in:
David M
2006-06-17 11:32:07 +00:00
parent 10846d462a
commit 751a154af0
4 changed files with 99 additions and 16 deletions

View File

@@ -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'];
}

View File

@@ -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);