first commit
This commit is contained in:
7
modules/debug_toolbar/hooks/display.php
Normal file
7
modules/debug_toolbar/hooks/display.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php defined('SYSPATH') or die('No direct script access.');
|
||||
|
||||
if (Debug_Toolbar::is_enabled())
|
||||
{
|
||||
// Allows the debug toolbar to inject itsself into the html
|
||||
Event::add('system.display', array('Debug_Toolbar', 'render'));
|
||||
}
|
||||
6
modules/debug_toolbar/hooks/log.php
Normal file
6
modules/debug_toolbar/hooks/log.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php defined('SYSPATH') or die('No direct script access.');
|
||||
/*
|
||||
* Capture logs
|
||||
*/
|
||||
Event::add('system.log', array('Debug_Toolbar', 'log'));
|
||||
?>
|
||||
Reference in New Issue
Block a user