1
0
Fork 0
mirror of https://github.com/Oreolek/debug-toolbar.git synced 2024-04-26 22:29:19 +03:00

update 3.2 version

This commit is contained in:
Maxim 2011-07-28 23:11:41 +11:00
parent c6dd97aaa4
commit d9e48a47c3
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