Skip to content

Commit a80a482

Browse files
authored
Removed unnecessary auto_detect_line_endings (OpenMage#3283)
1 parent 4beb3d7 commit a80a482

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Varien/Io/File.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@ public function streamOpen($fileName, $mode = 'w+', $chmod = 0666)
124124
throw new Exception('Permission denied for write to ' . $this->getFilteredPath($this->_cwd));
125125
}
126126

127-
if (PHP_VERSION_ID < 80100 && !ini_get('auto_detect_line_endings')) {
128-
ini_set('auto_detect_line_endings', 1);
129-
}
130-
131127
if ($this->_cwd) {
132128
@chdir($this->_cwd);
133129
}

0 commit comments

Comments
 (0)