Skip to content

Commit

Permalink
Removed unnecessary auto_detect_line_endings (OpenMage#3283)
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano authored and empiricompany committed Sep 16, 2023
1 parent 0f2ca8a commit 0b0414b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/Varien/Io/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,6 @@ public function streamOpen($fileName, $mode = 'w+', $chmod = 0666)
throw new Exception('Permission denied for write to ' . $this->getFilteredPath($this->_cwd));
}

if (PHP_VERSION_ID < 80100 && !ini_get('auto_detect_line_endings')) {
ini_set('auto_detect_line_endings', 1);
}

if ($this->_cwd) {
@chdir($this->_cwd);
}
Expand Down

0 comments on commit 0b0414b

Please sign in to comment.