diff options
author | David M <davidmj@users.sourceforge.net> | 2006-06-17 11:32:07 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-06-17 11:32:07 +0000 |
commit | 751a154af01ac9cacdee5309d95ea115c0cecd5a (patch) | |
tree | fbd42a9e5662b93f0569eeda27be32714121c84e /phpBB/install | |
parent | 10846d462ac9aa4790157f02e6cbf76297c29b82 (diff) | |
download | forums-751a154af01ac9cacdee5309d95ea115c0cecd5a.tar forums-751a154af01ac9cacdee5309d95ea115c0cecd5a.tar.gz forums-751a154af01ac9cacdee5309d95ea115c0cecd5a.tar.bz2 forums-751a154af01ac9cacdee5309d95ea115c0cecd5a.tar.xz forums-751a154af01ac9cacdee5309d95ea115c0cecd5a.zip |
- 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
Diffstat (limited to 'phpBB/install')
-rwxr-xr-x | phpBB/install/install_install.php | 4 | ||||
-rw-r--r-- | phpBB/install/schemas/sqlite_schema.sql | 5 |
2 files changed, 4 insertions, 5 deletions
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); |