From: Rob Church Date: Mon, 4 Jun 2007 02:25:13 +0000 (+0000) Subject: Remove superfluous newlines from end of generated LocalSettings.php files X-Git-Tag: 1.31.0-rc.0~52699 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=de57f07be4733aa6e74bec66ccff4ea9e850faa8;p=lhc%2Fweb%2Fwiklou.git Remove superfluous newlines from end of generated LocalSettings.php files --- 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' );