Make sure we can read file with "\r" line endings
This commit is contained in:
parent
49c2b5996d
commit
5e98a66aeb
|
|
@ -43,3 +43,8 @@ foreach (array('gd', 'mbstring', 'hash', 'openssl', 'json', 'hash', 'ctype', 'fi
|
|||
if (ini_get('arg_separator.output') === '&') {
|
||||
ini_set('arg_separator.output', '&');
|
||||
}
|
||||
|
||||
// Make sure we can read files with "\r", "\r\n" and "\n"
|
||||
if (ini_get('auto_detect_line_endings') != 1) {
|
||||
ini_set("auto_detect_line_endings", 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue