Upgrade to 3.8.1.1
This commit is contained in:
@@ -577,14 +577,14 @@ class F
|
||||
public static function read(string $file): string|false
|
||||
{
|
||||
if (
|
||||
is_file($file) !== true &&
|
||||
is_readable($file) !== true &&
|
||||
Str::startsWith($file, 'https://') !== true &&
|
||||
Str::startsWith($file, 'http://') !== true
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return @file_get_contents($file);
|
||||
return file_get_contents($file);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user