mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-19 12:19:21 +02:00
Add option to enable debugbar, even if dev mode is disabled
This commit is contained in:
parent
c227fd4e96
commit
577725690d
@ -17,7 +17,9 @@ use DebugBar\StandardDebugBar;
|
||||
|
||||
if(config('env') === 'dev') {
|
||||
require SYSTEM . 'exception.php';
|
||||
}
|
||||
|
||||
if (config('env') === 'dev' || getBoolean(config('enable_debugbar'))) {
|
||||
$debugBar = new StandardDebugBar();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user