/var/www/hkosl.com/demo_google/application/config/hooks.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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
|
*/

    
$hook['post_controller'] = [
        
'class' => 'QueryLogger',
        
'function' => 'save',
        
'filename' => 'QueryLogger.php',
        
'filepath' => 'hooks',
        
'params' => ''
    
];