Commit bac7861e authored by Nicolas Widart's avatar Nicolas Widart

Using the finder to check if installed.

parent 51b8e785
...@@ -375,7 +375,7 @@ class InstallCommand extends Command ...@@ -375,7 +375,7 @@ class InstallCommand extends Command
*/ */
private function checkIfInstalled() private function checkIfInstalled()
{ {
return getenv('DB_USERNAME') ? true : false; return $this->finder->isFile('.env');
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment