@@ -49,41 +49,41 @@ discard block |
||
49 | 49 | { |
50 | 50 | // Publish our views |
51 | 51 | $this->publishes([ |
52 | - __DIR__ . '/views' => base_path("resources/views") |
|
52 | + __DIR__.'/views' => base_path("resources/views") |
|
53 | 53 | ]); |
54 | 54 | |
55 | 55 | // Publish our lang |
56 | 56 | $this->publishes([ |
57 | - __DIR__ . '/lang' => base_path("resources/lang") |
|
57 | + __DIR__.'/lang' => base_path("resources/lang") |
|
58 | 58 | ]); |
59 | 59 | |
60 | 60 | // Publish our public |
61 | 61 | $this->publishes([ |
62 | - __DIR__ . '/public' => base_path("public") |
|
62 | + __DIR__.'/public' => base_path("public") |
|
63 | 63 | ]); |
64 | 64 | |
65 | 65 | // Publish our migrations |
66 | 66 | $this->publishes([ |
67 | - __DIR__ . '/migrations' => base_path("database/migrations") |
|
67 | + __DIR__.'/migrations' => base_path("database/migrations") |
|
68 | 68 | ], 'migrations'); |
69 | 69 | |
70 | 70 | // Publish our migrations |
71 | 71 | $this->publishes([ |
72 | - __DIR__ . '/seeds' => base_path("database/seeds") |
|
72 | + __DIR__.'/seeds' => base_path("database/seeds") |
|
73 | 73 | ], 'seeds'); |
74 | 74 | |
75 | 75 | // Publish a config file |
76 | 76 | $this->publishes([ |
77 | - __DIR__ . '/config' => base_path('/config') |
|
77 | + __DIR__.'/config' => base_path('/config') |
|
78 | 78 | ], 'config'); |
79 | 79 | |
80 | 80 | // Publish our routes |
81 | 81 | $this->publishes([ |
82 | - __DIR__ . '/routes.php' => base_path("app/Http/base_routes.php") |
|
82 | + __DIR__.'/routes.php' => base_path("app/Http/base_routes.php") |
|
83 | 83 | ], 'routes'); |
84 | 84 | |
85 | 85 | // Include the routes file |
86 | - if(file_exists(base_path("app/Http/base_routes.php"))) |
|
86 | + if (file_exists(base_path("app/Http/base_routes.php"))) |
|
87 | 87 | include base_path("app/Http/base_routes.php"); |
88 | 88 | } |
89 | 89 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | */ |
95 | 95 | protected function registerUsers() |
96 | 96 | { |
97 | - $this->app->singleton('jlourenco.user', function ($app) { |
|
97 | + $this->app->singleton('jlourenco.user', function($app) { |
|
98 | 98 | $config = $app['config']->get('jlourenco.base'); |
99 | 99 | |
100 | 100 | $users = array_get($config, 'models.User'); |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | */ |
115 | 115 | protected function registerGroups() |
116 | 116 | { |
117 | - $this->app->singleton('jlourenco.group', function ($app) { |
|
117 | + $this->app->singleton('jlourenco.group', function($app) { |
|
118 | 118 | $config = $app['config']->get('jlourenco.base'); |
119 | 119 | |
120 | 120 | $model = array_get($config, 'base.models.Group'); |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | */ |
131 | 131 | protected function registerSettings() |
132 | 132 | { |
133 | - $this->app->singleton('jlourenco.settings', function ($app) { |
|
133 | + $this->app->singleton('jlourenco.settings', function($app) { |
|
134 | 134 | $config = $app['config']->get('jlourenco.base'); |
135 | 135 | |
136 | 136 | $model = array_get($config, 'models.Settings'); |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | */ |
147 | 147 | protected function registerLog() |
148 | 148 | { |
149 | - $this->app->singleton('jlourenco.log', function ($app) { |
|
149 | + $this->app->singleton('jlourenco.log', function($app) { |
|
150 | 150 | $config = $app['config']->get('jlourenco.base'); |
151 | 151 | |
152 | 152 | $model = array_get($config, 'models.Logs'); |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | */ |
163 | 163 | protected function registerVisits() |
164 | 164 | { |
165 | - $this->app->singleton('jlourenco.visits', function ($app) { |
|
165 | + $this->app->singleton('jlourenco.visits', function($app) { |
|
166 | 166 | $config = $app['config']->get('jlourenco.base'); |
167 | 167 | |
168 | 168 | $model = array_get($config, 'models.Visits'); |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | */ |
179 | 179 | protected function registerJobs() |
180 | 180 | { |
181 | - $this->app->singleton('jlourenco.jobs', function ($app) { |
|
181 | + $this->app->singleton('jlourenco.jobs', function($app) { |
|
182 | 182 | $config = $app['config']->get('jlourenco.base'); |
183 | 183 | |
184 | 184 | $model = array_get($config, 'models.Jobs'); |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | */ |
195 | 195 | protected function registerBase() |
196 | 196 | { |
197 | - $this->app->singleton('base', function ($app) { |
|
197 | + $this->app->singleton('base', function($app) { |
|
198 | 198 | $base = new Base($app['jlourenco.settings'], $app['jlourenco.user'], $app['jlourenco.log'], $app['jlourenco.visits'], $app['jlourenco.jobs']); |
199 | 199 | |
200 | 200 | return $base; |