diff --git a/cli/Valet/Drivers/Specific/NetteValetDriver.php b/cli/Valet/Drivers/Specific/NetteValetDriver.php index b245d5fa0..1207d1625 100644 --- a/cli/Valet/Drivers/Specific/NetteValetDriver.php +++ b/cli/Valet/Drivers/Specific/NetteValetDriver.php @@ -11,7 +11,10 @@ class NetteValetDriver extends ValetDriver */ public function serves(string $sitePath, string $siteName, string $uri): bool { - return file_exists($sitePath.'/www'); + return file_exists($sitePath.'/www/index.php') + && file_exists($sitePath.'/www/.htaccess') + && file_exists($sitePath.'/config/common.neon') + && file_exists($sitePath.'/config/services.neon'); } /**