diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2005-08-17 15:57:50 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-08-17 15:57:50 +0000 |
| commit | 4740e7dece880f5cda26976ba758fc31c769f231 (patch) | |
| tree | 0c612bb72e483d67567eeb1f4b097b452487d6b3 /phpBB/install/install.php | |
| parent | 1694af43aadb22686ee0ab2d045269fc2a9c3f82 (diff) | |
| download | forums-4740e7dece880f5cda26976ba758fc31c769f231.tar forums-4740e7dece880f5cda26976ba758fc31c769f231.tar.gz forums-4740e7dece880f5cda26976ba758fc31c769f231.tar.bz2 forums-4740e7dece880f5cda26976ba758fc31c769f231.tar.xz forums-4740e7dece880f5cda26976ba758fc31c769f231.zip | |
- changed dbal class layout
git-svn-id: file:///svn/phpbb/trunk@5193 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install.php')
| -rw-r--r-- | phpBB/install/install.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php index cebc7097f9..e715fa86c2 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -113,7 +113,7 @@ $available_dbms = array( 'DELIM' => 'GO', 'COMMENTS' => 'remove_comments' ), - 'mssql-odbc'=> array( + 'mssql_odbc'=> array( 'LABEL' => 'MS SQL Server [ ODBC ]', 'SCHEMA' => 'mssql', 'MODULE' => 'odbc', @@ -1040,7 +1040,7 @@ if ($stage == 3) include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx); // Instantiate the database - $db = new sql_db(); + $db = new $sql_db(); $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false); // We ship the Access schema complete, we don't need to create tables nor @@ -1082,7 +1082,7 @@ if ($stage == 3) switch ($dbms) { case 'mssql': - case 'mssql-odbc': + case 'mssql_odbc': $sql_query = preg_replace('#\# MSSQL IDENTITY (phpbb_[a-z_]+) (ON|OFF) \##s', 'SET IDENTITY_INSERT \1 \2', $sql_query); break; @@ -1385,7 +1385,7 @@ function connect_check_db($error_connect, &$error, &$dbms, &$table_prefix, &$dbh include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx); // Instantiate it and set return on error true - $db = new sql_db(); + $db = new $sql_db(); $db->sql_return_on_error(true); // Try and connect ... @@ -1407,7 +1407,7 @@ function connect_check_db($error_connect, &$error, &$dbms, &$table_prefix, &$dbh break; case 'mssql': - case 'mssql-odbc': + case 'mssql_odbc': $sql = "SELECT name FROM sysobjects WHERE type='U'"; |
