From 13839bddf9d5db68cfe8fbdec38d2e6111b814e9 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Sun, 3 Sep 2006 01:14:11 +0000 Subject: [PATCH] Make sure LocalSettings.php ends in a newline. --- config/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/index.php b/config/index.php index 960b9fffe9..48ca26bd48 100644 --- a/config/index.php +++ b/config/index.php @@ -878,7 +878,7 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) { /* Write out the config file now that all is well */ print "

Creating LocalSettings.php...

\n\n"; - $localSettings = "<" . "?php$endl$local$endl?" . ">"; + $localSettings = "<" . "?php$endl$local$endl?" . ">\r\n"; // 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