Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing trim() that was performed when reading a file with a lock() …

…enabled. This was causing a failure in php5.
  • Loading branch information...
commit 7cde3094f0c741abbe6b0b14d8894da343c9bf7b 1 parent 25a6a3c
@markstory markstory authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  cake/libs/file.php
View
1  cake/libs/file.php
@@ -185,7 +185,6 @@ function read($bytes = false, $mode = 'rb', $force = false) {
while (!feof($this->handle)) {
$data .= fgets($this->handle, 4096);
}
- $data = trim($data);
if ($this->lock !== null) {
flock($this->handle, LOCK_UN);
Please sign in to comment.
Something went wrong with that request. Please try again.