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 8cf9bd2 commit 4a43ab0Copy full SHA for 4a43ab0
cli/Valet/Drivers/Specific/NetteValetDriver.php
@@ -11,7 +11,10 @@ class NetteValetDriver extends ValetDriver
11
*/
12
public function serves(string $sitePath, string $siteName, string $uri): bool
13
{
14
- return file_exists($sitePath.'/www');
+ return file_exists($sitePath.'/www/index.php')
15
+ && file_exists($sitePath.'/www/.htaccess')
16
+ && file_exists($sitePath.'/config/common.neon')
17
+ && file_exists($sitePath.'/config/services.neon');
18
}
19
20
/**
0 commit comments