]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix for postgres - was using a non-existent variable to work out if should write...
authorBrenda Wallace <shiny@cpan.org>
Fri, 28 Aug 2009 09:04:15 +0000 (21:04 +1200)
committerBrenda Wallace <shiny@cpan.org>
Fri, 28 Aug 2009 09:04:15 +0000 (21:04 +1200)
install.php

index 4c5bc38aee6e78cd6723b2ad4aad6fdf4a1a298f..f4dcef2e852b53b1328b0361d2629ff8dcd761eb 100644 (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".
 
             "?>";