Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function install(Epesi $epesi) |
||
20 | { |
||
21 | if (SystemCore::isInstalled()) return redirect('home'); |
||
22 | |||
23 | $epesi->title = config('epesi.app.title') . ' > ' . __('Installation'); |
||
24 | |||
25 | $epesi->initLayout('Centered'); |
||
26 | |||
27 | $epesi->layout->set('logo', url('logo')); |
||
28 | $epesi->layout->template->setHTML('copyright', config('epesi.app.copyright')); |
||
29 | |||
30 | $epesi->add(new SystemInstallWizard()); |
||
31 | |||
32 | return $epesi->response(); |
||
33 | } |
||
49 |