23 lines
665 B
PHP
23 lines
665 B
PHP
|
<?php if ( ! defined('BASEPATH')) 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:
|
||
|
|
|
||
|
| http://codeigniter.com/user_guide/general/hooks.html
|
||
|
|
|
||
|
*/
|
||
|
|
||
|
$hook['post_controller_constructor'][] = array(
|
||
|
'class' => '',
|
||
|
'function' => 'check_session',
|
||
|
'filename' => 'pre-controller.php',
|
||
|
'filepath' => 'hooks'
|
||
|
);
|
||
|
|
||
|
|
||
|
|
||
|
/* End of file hooks.php */
|
||
|
/* Location: ./system/application/config/hooks.php */
|