riainvoice/application/config/hooks.php
gandhimathi Bharathirajan c940cb1a2c all files
2017-09-11 14:38:03 +05:30

21 lines
590 B
PHP

<?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['pre_controller'] = array(
'class' => 'SetTimezoneClass',
'function' => 'setTimezone',
'filename' => 'SetTimezoneClass.php',
'filepath' => 'hooks'
);