Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1357
index.php.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 7:02 PM
2014-11-21 19:02:18 (UTC+0)
Size
749 B
Referenced Files
None
Subscribers
None
index.php.patch
View Options
Index: config/index.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/config/index.php,v
retrieving revision 1.85.2.8
diff -u -r1.85.2.8 index.php
--- config/index.php 17 Apr 2005 23:24:27 -0000 1.85.2.8
+++ config/index.php 22 Jun 2005 14:47:32 -0000
@@ -424,6 +424,7 @@
/* Load up the settings and get installin' */
$local = writeLocalSettings( $conf );
+ $local = str_replace( "\r\n", "\n", $local );
$wgCommandLineMode = false;
chdir( ".." );
eval($local);
@@ -499,6 +500,7 @@
print "; enabling MySQL 4 enhancements";
$conf->DBmysql4 = true;
$local = writeLocalSettings( $conf );
+ $local = str_replace( "\r\n", "\n", $local );
}
print "</li>\n";
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1256
Default Alt Text
index.php.patch (749 B)
Attached To
Mode
T2750: config/index.php generates bad LocalSettings.php if uses CR/LF EOL.
Attached
Detach File
Event Timeline
Log In to Comment