Conditions | 1 |
Paths | 1 |
Total Lines | 25 |
Code Lines | 1 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Mascame\Artificer\Controllers; |
||
11 | public function install() |
||
12 | { |
||
13 | // $this->modelObject = App::make('ArtificerModel'); |
||
14 | // |
||
15 | // try { |
||
16 | // $user = \User::firstOrFail(); |
||
17 | // |
||
18 | // // We check if there are users |
||
19 | // if ($user) { |
||
20 | // App::abort(404); |
||
21 | // } |
||
22 | // |
||
23 | // } catch (\Exception $e) { |
||
24 | // $this->shareMainViewData(); |
||
25 | // |
||
26 | // $user = new \User(); |
||
27 | // $user->role = 'admin'; |
||
28 | // |
||
29 | // \Auth::login($user); |
||
30 | // |
||
31 | // return \View::make($this->getView('install')) |
||
32 | // ->with('plugins', App::make('ArtificerPluginManager')->getAll()); |
||
33 | //// dd('install process... here we will scan models, maybe help with config and first user setup'); |
||
34 | // } |
||
35 | } |
||
36 | |||
37 | } |