1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 23:25:30 +02:00

- allow Oracle to install without having a database name

git-svn-id: file:///svn/phpbb/trunk@7973 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2007-07-28 15:16:07 +00:00
parent 65fd807646
commit 85273d345f
2 changed files with 2 additions and 1 deletions

View File

@ -291,6 +291,7 @@ p a {
<li>[Fix] Properly export localized imagesets</li> <li>[Fix] Properly export localized imagesets</li>
<li>[Feature] Show the size of Firebird databases</li> <li>[Feature] Show the size of Firebird databases</li>
<li>[Fix] Show error when moving topic into a category via quickmod (Bug #11611)</li> <li>[Fix] Show error when moving topic into a category via quickmod (Bug #11611)</li>
<li>[Fix] Allow Oracle to install on a database without specify the database name</li>
</ul> </ul>

View File

@ -258,7 +258,7 @@ function connect_check_db($error_connect, &$error, $dbms, $table_prefix, $dbhost
$db->sql_return_on_error(true); $db->sql_return_on_error(true);
// Check that we actually have a database name before going any further..... // Check that we actually have a database name before going any further.....
if ($dbms['DRIVER'] != 'sqlite' && $dbname === '') if ($dbms['DRIVER'] != 'sqlite' && $dbms['DRIVER'] != 'oracle' && $dbname === '')
{ {
$error[] = $lang['INST_ERR_DB_NO_NAME']; $error[] = $lang['INST_ERR_DB_NO_NAME'];
return false; return false;