fix for postgres - was using a non-existent variable to work out if should write quote_identifiers=true
This commit is contained in:
parent
815630fe63
commit
53ec4223e4
@ -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".
|
||||
|
||||
"?>";
|
||||
|
Loading…
Reference in New Issue
Block a user