@@ -49,7 +49,7 @@ |
||
49 | 49 | <br> |
50 | 50 | <small> |
51 | 51 | <?php |
52 | - $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
52 | + $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
53 | 53 | ?> |
54 | 54 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
55 | 55 | </small> |
@@ -49,7 +49,7 @@ |
||
49 | 49 | <br> |
50 | 50 | <small> |
51 | 51 | <?php |
52 | - $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
52 | + $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
53 | 53 | ?> |
54 | 54 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
55 | 55 | </small> |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | 'middleware' => 'web', |
56 | 56 | 'prefix' => config('backpack.base.route_prefix'), |
57 | 57 | ], |
58 | - function () { |
|
58 | + function() { |
|
59 | 59 | // if not otherwise configured, setup the auth routes |
60 | 60 | if (config('backpack.base.setup_auth_routes')) { |
61 | 61 | Route::auth(); |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | public function register() |
79 | 79 | { |
80 | 80 | // register the current package |
81 | - $this->app->bind('base', function ($app) { |
|
81 | + $this->app->bind('base', function($app) { |
|
82 | 82 | return new Base($app); |
83 | 83 | }); |
84 | 84 |
@@ -9,8 +9,8 @@ |
||
9 | 9 | // actual language file, from the package. |
10 | 10 | |
11 | 11 | // If a langfile with the same name exists in the package, load that one |
12 | -if (file_exists(__DIR__ . '/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | - return include(__DIR__ . '/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
12 | +if (file_exists(__DIR__.'/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | + return include(__DIR__.'/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | return []; |
@@ -9,8 +9,8 @@ |
||
9 | 9 | // actual language file, from the package. |
10 | 10 | |
11 | 11 | // If a langfile with the same name exists in the package, load that one |
12 | -if (file_exists(__DIR__ . '/../../../../../crud/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | - return include(__DIR__ . '/../../../../../crud/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
12 | +if (file_exists(__DIR__.'/../../../../../crud/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | + return include(__DIR__.'/../../../../../crud/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | return []; |
@@ -9,8 +9,8 @@ |
||
9 | 9 | // actual language file, from the package. |
10 | 10 | |
11 | 11 | // If a langfile with the same name exists in the package, load that one |
12 | -if (file_exists(__DIR__ . '/../../../../../permissionmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | - return include(__DIR__ . '/../../../../../permissionmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
12 | +if (file_exists(__DIR__.'/../../../../../permissionmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | + return include(__DIR__.'/../../../../../permissionmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | return []; |
@@ -9,8 +9,8 @@ |
||
9 | 9 | // actual language file, from the package. |
10 | 10 | |
11 | 11 | // If a langfile with the same name exists in the package, load that one |
12 | -if (file_exists(__DIR__ . '/../../../../../backupmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | - return include(__DIR__ . '/../../../../../backupmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
12 | +if (file_exists(__DIR__.'/../../../../../backupmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | + return include(__DIR__.'/../../../../../backupmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | return []; |
@@ -9,8 +9,8 @@ |
||
9 | 9 | // actual language file, from the package. |
10 | 10 | |
11 | 11 | // If a langfile with the same name exists in the package, load that one |
12 | -if (file_exists(__DIR__ . '/../../../../../settings/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | - return include(__DIR__ . '/../../../../../settings/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
12 | +if (file_exists(__DIR__.'/../../../../../settings/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | + return include(__DIR__.'/../../../../../settings/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | return []; |
@@ -9,8 +9,8 @@ |
||
9 | 9 | // actual language file, from the package. |
10 | 10 | |
11 | 11 | // If a langfile with the same name exists in the package, load that one |
12 | -if (file_exists(__DIR__ . '/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | - return include(__DIR__ . '/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
12 | +if (file_exists(__DIR__.'/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) { |
|
13 | + return include(__DIR__.'/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__)); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | return []; |