1
0
Fork 0
mirror of https://github.com/Oreolek/debug-toolbar.git synced 2024-05-05 18:48:13 +03:00
debug-toolbar/config/debug_toolbar.php
2013-08-22 15:25:34 +04:00

58 lines
1.2 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,
);
/*
* Toolbar alignment
* options: right, left, center
*/
$config['align'] = 'right';
/*
* 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;