1
0
Fork 0
mirror of https://github.com/Oreolek/debug-toolbar.git synced 2024-05-07 11:38:14 +03:00
debug-toolbar/init.php
2011-07-28 23:11:41 +11:00

8 lines
380 B
PHP

<?php defined('SYSPATH') or die('No direct script access.');
// Load FirePHP if it enabled in config
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
register_shutdown_function('debugtoolbar::render');