Removing trim() that was performed when reading a file with a lock() enabled. This was causing a failure in php5.

This commit is contained in:
mark_story 2010-05-29 12:50:42 -04:00
parent 25a6a3cac8
commit 7cde3094f0

View file

@ -185,7 +185,6 @@ class File extends Object {
while (!feof($this->handle)) { while (!feof($this->handle)) {
$data .= fgets($this->handle, 4096); $data .= fgets($this->handle, 4096);
} }
$data = trim($data);
if ($this->lock !== null) { if ($this->lock !== null) {
flock($this->handle, LOCK_UN); flock($this->handle, LOCK_UN);