mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update Installer.php
This commit is contained in:
parent
bb0945a63f
commit
8897c4818c
1 changed files with 3 additions and 7 deletions
|
@ -300,6 +300,9 @@ class Installer extends Page
|
|||
$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');
|
||||
}
|
||||
|
||||
|
@ -308,11 +311,4 @@ class Installer extends Page
|
|||
}
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
file_put_contents(storage_path('installed'), 'installed-'.date('Y-m-d H:i:s'));
|
||||
|
||||
return redirect('/admin/login');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue