Permalink
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...
1 parent 25a6a3c commit 7cde3094f0c741abbe6b0b14d8894da343c9bf7b @markstory markstory committed May 29, 2010
Showing with 0 additions and 1 deletion.
  1. +0 −1 cake/libs/file.php
View
@@ -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);

0 comments on commit 7cde309

Please sign in to comment.