Skip to content

Commit 68ff17a

Browse files
xyNNNtaylorotwell
authored andcommitted
Added valet support for Symfony < 3.0 (#87)
* Added valet support for Symfony < 3.0 * Updated condition for Symfony applications
1 parent d2f7d57 commit 68ff17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/drivers/SymfonyValetDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class SymfonyValetDriver extends ValetDriver
1313
public function serves($sitePath, $siteName, $uri)
1414
{
1515
return (file_exists($sitePath.'/web/app_dev.php') || file_exists($sitePath.'/web/app.php')) &&
16-
(file_exists($sitePath.'/bin/symfony_requirements'));
16+
(file_exists($sitePath.'/app/AppKernel.php'));
1717
}
1818

1919
/**

0 commit comments

Comments
 (0)