r22695 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22694‎ | r22695 | r22696 >
Date:02:25, 4 June 2007
Author:robchurch
Status:old
Tags:
Comment:
Remove superfluous newlines from end of generated LocalSettings.php files
Modified paths:
  • /trunk/phase3/config/index.php (modified) (history)

Diff [purge]

Index: trunk/phase3/config/index.php
@@ -968,7 +968,7 @@
969969 /* Write out the config file now that all is well */
970970 print "<li style=\"list-style: none\">\n";
971971 print "<p>Creating LocalSettings.php...</p>\n\n";
972 - $localSettings = "<" . "?php$endl$local$endl\r\n";
 972+ $localSettings = "<" . "?php$endl$local";
973973 // Fix up a common line-ending problem (due to CVS on Windows)
974974 $localSettings = str_replace( "\r\n", "\n", $localSettings );
975975 $f = fopen( "LocalSettings.php", 'xt' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r22717Merged revisions 22667-22715 via svnmerge from...david20:00, 4 June 2007

Status & tagging log