mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Miglioramento abilitazione debugbar
This commit is contained in:
@@ -25,5 +25,8 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
if(config('app.debug')) {
|
||||
\Debugbar::getJavascriptRenderer()->setAjaxHandlerAutoShow(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -38,8 +38,7 @@
|
||||
"laravel/framework": "^9.0",
|
||||
"laravel/tinker": "^2.5",
|
||||
"spatie/laravel-ignition": "^1.0",
|
||||
"symfony/polyfill-ctype": "^1.8",
|
||||
"symfony/polyfill-php70": "^1.8"
|
||||
"symfony/polyfill-ctype": "^1.8"
|
||||
},
|
||||
"require-dev": {
|
||||
"fakerphp/faker": "^1.9.1",
|
||||
|
@@ -13,10 +13,9 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'enabled' => env('DEBUGBAR_ENABLED', null),
|
||||
'enabled' => config('app.debug'),
|
||||
'except' => [
|
||||
'telescope*',
|
||||
'horizon*',
|
||||
'hook/*',
|
||||
],
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user