fix for postgres - was using a non-existent variable to work out if should write quote_identifiers=true

This commit is contained in:
Brenda Wallace 2009-08-28 21:04:15 +12:00
parent 815630fe63
commit 53ec4223e4
1 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,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".
"?>";