1
0
Fork 0
mirror of https://github.com/Oreolek/debug-toolbar.git synced 2024-04-27 06:39:19 +03:00
debug-toolbar/config/debug_toolbar.php

53 lines
1.1 KiB
PHP

<?php defined('SYSPATH') or die('No direct script access.');
/*
* If true, the debug toolbar will be automagically displayed
* NOTE: if IN_PRODUCTION is set to TRUE, the toolbar will
* not automatically render, even if auto_render is TRUE
*/
$config['auto_render'] = Kohana::$environment > Kohana::PRODUCTION;
/*
* If true, the toolbar will default to the minimized position
*/
$config['minimized'] = FALSE;
/*
* Log toolbar data to FirePHP
*/
$config['firephp_enabled'] = TRUE;
/*
* Enable or disable specific panels
*/
$config['panels'] = array(
'benchmarks' => TRUE,
'database' => TRUE,
'vars' => TRUE,
'configs' => TRUE, // also depends on 'vars' values
'ajax' => TRUE,
'files' => TRUE,
'modules' => TRUE,
'routes' => TRUE,
'customs' => TRUE,
);
/*
* Secret Key
*/
$config['secret_key'] = FALSE;
/**
* Exclude configs
*/
$config['skip_configs'] = array('database', 'encrypt');
/**
* Disabled routes
*/
$config['excluded_routes'] = array(
'docs/media' // Userguide media route
);
return $config;