mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 09:00:27 +00:00
Update Installer.php
This commit is contained in:
parent
68119a8e79
commit
9150233992
1 changed files with 5 additions and 0 deletions
|
@ -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...';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue