Init debugBar

This commit is contained in:
slawkens
2023-08-10 13:05:02 +02:00
parent 7bab8f033c
commit cc7aec8e28
4 changed files with 38 additions and 2 deletions

View File

@@ -13,8 +13,12 @@ if(!isset($config['installed']) || !$config['installed']) {
throw new RuntimeException('MyAAC has not been installed yet or there was error during installation. Please install again.');
}
use DebugBar\StandardDebugBar;
if(config('env') === 'dev') {
require SYSTEM . 'exception.php';
$debugBar = new StandardDebugBar();
}
if(empty($config['server_path'])) {