Skip to content

Commit 1e06d47

Browse files
author
arcfieldOSS
committed
removing file_get_contents from locking reader
1 parent 77485e3 commit 1e06d47

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

phpfastcache/3.0.0/abstract.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,6 @@ protected function required_extension($name) {
270270

271271

272272
protected function readfile($file) {
273-
if(function_exists("file_get_contents")) {
274-
return @file_get_contents($file);
275-
} else {
276273
$string = "";
277274

278275
$file_handle = @fopen($file, "r");
@@ -291,7 +288,6 @@ protected function readfile($file) {
291288
fclose($file_handle);
292289

293290
return $string;
294-
}
295291
}
296292

297293

0 commit comments

Comments
 (0)