mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
25a6a3cac8
commit
7cde3094f0
1 changed files with 0 additions and 1 deletions
|
@ -185,7 +185,6 @@ class File extends Object {
|
|||
while (!feof($this->handle)) {
|
||||
$data .= fgets($this->handle, 4096);
|
||||
}
|
||||
$data = trim($data);
|
||||
|
||||
if ($this->lock !== null) {
|
||||
flock($this->handle, LOCK_UN);
|
||||
|
|
Loading…
Reference in a new issue