check if env exists
This commit is contained in:
parent
c7831d5158
commit
84e123a405
@ -126,7 +126,7 @@ class Installer
|
||||
public static function createDefaultEnvFile()
|
||||
{
|
||||
// Rename file
|
||||
if (is_file(base_path('.env.example'))) {
|
||||
if (!is_file(base_path('.env')) && is_file(base_path('.env.example'))) {
|
||||
File::move(base_path('.env.example'), base_path('.env'));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user