@@ -32,17 +32,17 @@ discard block |
||
32 | 32 | |
33 | 33 | // PUBLISH FILES |
34 | 34 | // publish config file |
35 | - $this->publishes([ __DIR__.'/config/config.php' => config_path('backpack/base.php'), ], 'config'); |
|
35 | + $this->publishes([__DIR__.'/config/config.php' => config_path('backpack/base.php'), ], 'config'); |
|
36 | 36 | // publish lang files |
37 | - $this->publishes([ __DIR__.'/resources/lang' => resource_path('lang/vendor/backpack'), ], 'lang'); |
|
37 | + $this->publishes([__DIR__.'/resources/lang' => resource_path('lang/vendor/backpack'), ], 'lang'); |
|
38 | 38 | // publish views |
39 | - $this->publishes([ __DIR__.'/resources/views' => resource_path('views/vendor/backpack/base'), ], 'views'); |
|
39 | + $this->publishes([__DIR__.'/resources/views' => resource_path('views/vendor/backpack/base'), ], 'views'); |
|
40 | 40 | // publish error views |
41 | - $this->publishes([ __DIR__.'/resources/error_views' => resource_path('views/errors'), ], 'errors'); |
|
41 | + $this->publishes([__DIR__.'/resources/error_views' => resource_path('views/errors'), ], 'errors'); |
|
42 | 42 | // publish public Backpack assets |
43 | - $this->publishes([ __DIR__.'/public' => public_path('vendor/backpack'), ], 'public'); |
|
43 | + $this->publishes([__DIR__.'/public' => public_path('vendor/backpack'), ], 'public'); |
|
44 | 44 | // publish public AdminLTE assets |
45 | - $this->publishes([ base_path('vendor/almasaeed2010/adminlte') => public_path('vendor/adminlte'), ], 'adminlte'); |
|
45 | + $this->publishes([base_path('vendor/almasaeed2010/adminlte') => public_path('vendor/adminlte'), ], 'adminlte'); |
|
46 | 46 | |
47 | 47 | // use the vendor configuration file as fallback |
48 | 48 | $this->mergeConfigFrom( |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | |
82 | 82 | private function registerBase() |
83 | 83 | { |
84 | - $this->app->bind('base',function($app){ |
|
84 | + $this->app->bind('base', function($app) { |
|
85 | 85 | return new Base($app); |
86 | 86 | }); |
87 | 87 | } |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | <p> |
21 | 21 | <?php |
22 | - $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
22 | + $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
23 | 23 | ?> |
24 | 24 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
25 | 25 | </p> |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | <p> |
21 | 21 | <?php |
22 | - $default_error_message = "An internal server error has occurred. If the error persists please contact the development team."; |
|
22 | + $default_error_message = "An internal server error has occurred. If the error persists please contact the development team."; |
|
23 | 23 | ?> |
24 | 24 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
25 | 25 | </p> |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | <p> |
21 | 21 | <?php |
22 | - $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
22 | + $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
23 | 23 | ?> |
24 | 24 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
25 | 25 | </p> |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | <p> |
21 | 21 | <?php |
22 | - $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
22 | + $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
23 | 23 | ?> |
24 | 24 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
25 | 25 | </p> |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | <p> |
21 | 21 | <?php |
22 | - $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
22 | + $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
23 | 23 | ?> |
24 | 24 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
25 | 25 | </p> |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | <p> |
21 | 21 | <?php |
22 | - $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
22 | + $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
23 | 23 | ?> |
24 | 24 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
25 | 25 | </p> |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | <p> |
21 | 21 | <?php |
22 | - $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
22 | + $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>"; |
|
23 | 23 | ?> |
24 | 24 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
25 | 25 | </p> |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | <p> |
21 | 21 | <?php |
22 | - $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>."; |
|
22 | + $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>."; |
|
23 | 23 | ?> |
24 | 24 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
25 | 25 | </p> |