Skip to content

Commit

Permalink
Update Installer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed May 9, 2024
1 parent bb0945a commit 8897c48
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions web/app/Livewire/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ public function installLog()
$this->install_log = nl2br($this->install_log);

if (strpos($this->install_log, 'DONE!') !== false) {

file_put_contents(storage_path('installed'), 'installed-'.date('Y-m-d H:i:s'));

return redirect('/admin/login');
}

Expand All @@ -308,11 +311,4 @@ public function installLog()
}
}

public function install()
{
file_put_contents(storage_path('installed'), 'installed-'.date('Y-m-d H:i:s'));

return redirect('/admin/login');
}

}

0 comments on commit 8897c48

Please sign in to comment.