From de57f07be4733aa6e74bec66ccff4ea9e850faa8 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Mon, 4 Jun 2007 02:25:13 +0000 Subject: [PATCH] Remove superfluous newlines from end of generated LocalSettings.php files --- config/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/index.php b/config/index.php index e0671e5a44..75db7d007f 100644 --- a/config/index.php +++ b/config/index.php @@ -968,7 +968,7 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) { /* Write out the config file now that all is well */ print "
  • \n"; print "

    Creating LocalSettings.php...

    \n\n"; - $localSettings = "<" . "?php$endl$local$endl\r\n"; + $localSettings = "<" . "?php$endl$local"; // Fix up a common line-ending problem (due to CVS on Windows) $localSettings = str_replace( "\r\n", "\n", $localSettings ); $f = fopen( "LocalSettings.php", 'xt' ); -- 2.20.1