Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
16 | public function actionIndex() |
||
17 | { |
||
18 | if (File::exist('/Private/Install/install.lock')) { |
||
19 | throw new ForbiddenException('Installer is blocked! If you want to continue delete file /Private/Installer/install.lock'); |
||
20 | } |
||
21 | |||
22 | $model = new EntityCheck(); |
||
23 | |||
24 | $this->response = App::$View->render('index', [ |
||
25 | 'model' => $model |
||
26 | ]); |
||
27 | } |
||
28 | |||
50 | } |