1
0
Fork 0
mirror of https://github.com/Oreolek/debug-toolbar.git synced 2024-04-25 13:49:19 +03:00

Merge pull request #14 from Big-Shark/d9e48a47c39b99fda5e34fa2c8a771687efed4b7

update 3.2 version
This commit is contained in:
Ivan Brotkin 2011-07-30 09:35:45 -07:00
commit 5c1e91a568
3 changed files with 20 additions and 20 deletions

View file

@ -53,7 +53,7 @@ abstract class Kohana_DebugToolbar {
$template = new View('toolbar');
$config = Kohana::config('debug_toolbar');
$config = Kohana::$config->load('debug_toolbar');
// Database panel
if ($config->panels['database'] === TRUE)
@ -391,7 +391,7 @@ abstract class Kohana_DebugToolbar {
*/
public static function is_enabled()
{
$config = Kohana::config('debug_toolbar');
$config = Kohana::$config->load('debug_toolbar');
// Auto render if secret key isset
if ($config->secret_key !== FALSE and isset($_GET[$config->secret_key]))

View file

@ -1,7 +1,7 @@
<?php defined('SYSPATH') or die('No direct script access.');
// Load FirePHP if it enabled in config
if(Kohana::config('debug_toolbar.firephp_enabled') === TRUE)
if(Kohana::$config->load('debug_toolbar.firephp_enabled') === TRUE)
require_once Kohana::find_file('vendor', 'firephp/packages/core/lib/FirePHPCore/FirePHP.class');
// Render Debug Toolbar on the end of application execution

File diff suppressed because one or more lines are too long