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:
686ed73
)
Remove superfluous newlines from end of generated LocalSettings.php files
author
Rob Church
<robchurch@users.mediawiki.org>
Mon, 4 Jun 2007 02:25:13 +0000
(
02:25
+0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Mon, 4 Jun 2007 02:25:13 +0000
(
02:25
+0000)
config/index.php
patch
|
blob
|
history
diff --git
a/config/index.php
b/config/index.php
index
e0671e5
..
75db7d0
100644
(file)
--- 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 "<li style=\"list-style: none\">\n";
print "<p>Creating LocalSettings.php...</p>\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' );