<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
| Hooks
| -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core
| files.  Please see the user guide for info:
|
|	https://codeigniter.com/user_guide/general/hooks.html
|
*/

/* config/hooks.php */
$hook['post_controller'][] = array(
    'class' => 'LogsHook',
    'function' => 'log_queries',
    'filename' => 'LogsHook.php',
    'filepath' => 'hooks'
);

$hook['post_controller'][] = array(
    'class' => 'LogsHook',
    'function' => 'log_checks_send',
    'filename' => 'LogsHook.php',
    'filepath' => 'hooks'
);

$hook['display_override'][] = array(
	'class'  	=> 'Develbar',
    'function' 	=> 'debug',
    'filename' 	=> 'Develbar.php',
    'filepath' 	=> 'third_party/DevelBar/hooks'
);