<commit_before><?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');<commit_msg>add exception the not found firePHP<commit_after><?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){
	$file = 'firephp/packages/core/lib/FirePHPCore/FirePHP.class';
	$firePHP = Kohana::find_file('vendor', $file);
	if( ! $firePHP) throw new Kohana_Exception('The FirePHP :file could not be found', array(':file'=>$file));
	require_once $firePHP;
}
// Render Debug Toolbar on the end of application execution
register_shutdown_function('debugtoolbar::render');
{'fraction_non_alphanumeric': 0.14532520325203252, 'fraction_numerical': 0.0, 'mean_word_length': 7.073770491803279, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2286092', 'n_tokens_mistral': 297, 'n_tokens_neox': 301, 'n_words': 78}