Files
wavelog/application/config/hooks.php
2024-06-06 10:40:40 +02:00

21 lines
573 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' => 'Gettext',
'function' => 'initialize',
'filename' => 'Gettext.php',
'filepath' => 'hooks/gettext',
);