1
0
Fork 0
mirror of https://github.com/Oreolek/debug-toolbar.git synced 2024-07-01 05:44:58 +03:00
debug-toolbar/config/debug_toolbar.php

52 lines
1 KiB
PHP
Raw Normal View History

2010-01-31 19:20:55 +02:00
<?php defined('SYSPATH') or die('No direct script access.');
2011-05-25 09:02:20 +03:00
/*
2010-01-31 19:20:55 +02:00
* 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;
2010-01-31 19:20:55 +02:00
2011-05-25 09:02:20 +03:00
/*
2010-01-31 19:20:55 +02:00
* If true, the toolbar will default to the minimized position
*/
$config['minimized'] = FALSE;
/*
* Log toolbar data to FirePHP
*/
$config['firephp_enabled'] = TRUE;
2011-05-25 09:02:20 +03:00
/*
2010-01-31 19:20:55 +02:00
* Enable or disable specific panels
*/
$config['panels'] = array(
'benchmarks' => TRUE,
'database' => TRUE,
'vars' => TRUE,
'ajax' => TRUE,
'files' => TRUE,
'modules' => TRUE,
2010-02-03 23:26:20 +02:00
'routes' => TRUE,
2010-08-18 00:13:39 +03:00
'customs' => TRUE,
2010-01-31 19:20:55 +02:00
);
/*
* Toolbar alignment
* options: right, left, center
*/
$config['align'] = 'right';
/*
* Secret Key
2011-05-25 09:02:20 +03:00
*/
2010-01-31 19:20:55 +02:00
$config['secret_key'] = FALSE;
/**
* Disabled routes
*/
$config['excluded_routes'] = array(
'docs/media' // Userguide media route
);
2010-01-31 19:20:55 +02:00
return $config;