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 committed May 31, 2023
1 parent 4beb3d7 commit a80a482
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 @@ -124,10 +124,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 a80a482

Please sign in to comment.