Skip to content

Commit

Permalink
Merge pull request #32 from coolpraz/patch-2
Browse files Browse the repository at this point in the history
Update WordPressValetDriver.php
  • Loading branch information
cpriego authored Mar 22, 2017
2 parents be692ad + 346ef5e commit d891f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/drivers/WordPressValetDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class WordPressValetDriver extends BasicValetDriver
*/
public function serves($sitePath, $siteName, $uri)
{
return file_exists($sitePath.'/wp-config.php');
return file_exists($sitePath.'/wp-config.php') || file_exists($sitePath.'/wp-config-sample.php');
}

/**
Expand Down

0 comments on commit d891f34

Please sign in to comment.