diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-10-30 18:53:45 +1300 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-10-30 18:53:45 +1300 |
commit | 54c64a0cf1160db174934799750d7eec83f4f433 (patch) | |
tree | 6e0ab2e0ffbd6f35a138eee002f80c44a5fc4852 /install.php | |
parent | de7c12baef33d29c92f28168d0446e7c920df017 (diff) |
don't write the closing ?> to the config.php
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/install.php b/install.php index 319c261e4..6bfc4c2e2 100644 --- a/install.php +++ b/install.php @@ -692,9 +692,7 @@ function writeConf($sitename, $server, $path, $fancy, $db) // database "\$config['db']['database'] = '{$db['database']}';\n\n". ($db['type'] == 'pgsql' ? "\$config['db']['quote_identifiers'] = true;\n\n":''). - "\$config['db']['type'] = '{$db['type']}';\n\n". - - "?>"; + "\$config['db']['type'] = '{$db['type']}';\n\n"; // write configuration file out to install directory $res = file_put_contents(INSTALLDIR.'/config.php', $cfg); |