mirror of
https://github.com/laravel/valet.git
synced 2026-02-08 01:10:08 +01:00
Support isolated sites running PHP 7.4
This commit is contained in:
@@ -27,7 +27,7 @@ public function serves(string $sitePath, string $siteName, string $uri): bool
|
||||
* @param string $uri
|
||||
* @return string|false
|
||||
*/
|
||||
public function isStaticFile(string $sitePath, string $siteName, string $uri): string|false
|
||||
public function isStaticFile(string $sitePath, string $siteName, string $uri)
|
||||
{
|
||||
if (strpos($uri, '/_add-ons') === 0 || strpos($uri, '/_app') === 0 || strpos($uri, '/_content') === 0 ||
|
||||
strpos($uri, '/_cache') === 0 || strpos($uri, '/_config') === 0 || strpos($uri, '/_logs') === 0 ||
|
||||
|
||||
Reference in New Issue
Block a user