From: Brenda Wallace Date: Fri, 30 Oct 2009 05:53:45 +0000 (+1300) Subject: don't write the closing ?> to the config.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=54c64a0cf1160db174934799750d7eec83f4f433;p=quix0rs-gnu-social.git don't write the closing ?> to the config.php --- diff --git a/install.php b/install.php index 319c261e41..6bfc4c2e21 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);