Update Installer.php

This commit is contained in:
Bozhidar 2024-04-28 15:38:40 +03:00
parent 68119a8e79
commit 9150233992

View file

@ -298,6 +298,11 @@ class Installer extends Page
if (is_file(storage_path($this->install_log_file_path))) {
$this->install_log = file_get_contents(storage_path($this->install_log_file_path));
$this->install_log = nl2br($this->install_log);
if (strpos($this->install_log, 'DONE!') !== false) {
return redirect('/admin/login');
}
} else {
$this->install_log = 'Waiting for installation log...';
}