|
From: Ulf E. <ulf...@us...> - 2005-05-30 19:32:36
|
Update of /cvsroot/phpbt/phpbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15033 Modified Files: install.php upgrade.php Log Message: Added MySQL-i support. Index: install.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/install.php,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- install.php 24 May 2005 20:53:33 -0000 1.42 +++ install.php 30 May 2005 19:32:26 -0000 1.43 @@ -57,7 +57,8 @@ 'template_path' => 'templates/default')); $db_types = array( - 'mysql' => 'MySQL', + 'mysql' => 'MySQL < 4.1', + 'mysqli' => 'MySQL >= 4.1', 'oci8' => 'Oracle 8.1.x', 'pgsql' => 'PostgreSQL'); @@ -272,4 +273,4 @@ show_front(); } // Any whitespace below the end tag will disrupt config.php -?> +?> \ No newline at end of file Index: upgrade.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/upgrade.php,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- upgrade.php 25 Oct 2004 12:06:58 -0000 1.37 +++ upgrade.php 30 May 2005 19:32:27 -0000 1.38 @@ -54,6 +54,7 @@ $db->query("ALTER TABLE ".TBL_STATUS." alter bug_open set NOT NULL"); } break; + case 'mysqli' : case 'mysql' : $db->query("create table if not exists ".TBL_PROJECT_PERM." ( project_id int(11) NOT NULL default '0', user_id int(11) NOT NULL default '0' )"); if ($thisvers < 2) { |