dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9bf243
)
Make sure LocalSettings.php ends in a newline.
author
Greg Sabino Mullane
<greg@users.mediawiki.org>
Sun, 3 Sep 2006 01:14:11 +0000
(
01:14
+0000)
committer
Greg Sabino Mullane
<greg@users.mediawiki.org>
Sun, 3 Sep 2006 01:14:11 +0000
(
01:14
+0000)
config/index.php
patch
|
blob
|
history
diff --git
a/config/index.php
b/config/index.php
index
960b9ff
..
48ca26b
100644
(file)
--- 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 "<p>Creating LocalSettings.php...</p>\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' );