fix for trac bug #1805:

bug on line 381 referred to non existant variable, and caused a php notice and potentially would create a misconfigured config.php database type setting.
This commit is contained in:
Brett Taylor 2009-08-11 15:26:41 +12:00 committed by Brenda Wallace
parent f2cd83dd51
commit 04c6272915

View File

@ -378,7 +378,7 @@ function writeConf($sitename, $server, $path, $fancy, $db)
// database
"\$config['db']['database'] = '{$db['database']}';\n\n".
($type == 'pgsql' ? "\$config['db']['quote_identifiers'] = true;\n\n":'').
($db['type'] == 'pgsql' ? "\$config['db']['quote_identifiers'] = true;\n\n":'').
"\$config['db']['type'] = '{$db['type']}';\n\n".
"?>";