summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorBrett Taylor <brett@webfroot.co.nz>2009-08-11 15:26:41 +1200
committerBrenda Wallace <shiny@cpan.org>2009-08-11 15:30:03 +1200
commit04c6272915cf4f53e45b75dedc9b93f8cdfa76cc (patch)
treec6b1f76d4c8e91c6469ee1f253e32a88a4ef092f /install.php
parentf2cd83dd51e856022e75b0e3c5bffb333bf10c8e (diff)
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.
Diffstat (limited to 'install.php')
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php
index f02a06663..9bcee275f 100644
--- a/install.php
+++ b/install.php
@@ -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".
"?>";