We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc203d8 commit da8ec02Copy full SHA for da8ec02
src/Swoole/SwooleClient.php
@@ -74,7 +74,7 @@ protected function fileIsServable(string $publicPath, string $pathToFile): bool
74
return $pathToFile &&
75
! in_array(pathinfo($pathToFile, PATHINFO_EXTENSION), ['php', 'htaccess', 'config']) &&
76
str_starts_with($pathToFile, $publicPath) &&
77
- is_file($pathToFile) && filesize($pathToFile);
+ is_file($pathToFile);
78
}
79
80
/**
0 commit comments