Skip to content

Instantly share code, notes, and snippets.

@carlosocarvalho
Created September 13, 2016 15:11
Show Gist options
  • Save carlosocarvalho/55bee5a9c539dc69f8d83d151b7f3cb3 to your computer and use it in GitHub Desktop.
Save carlosocarvalho/55bee5a9c539dc69f8d83d151b7f3cb3 to your computer and use it in GitHub Desktop.
<?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' => 'RegisterEventAutoload',
'function' => 'handler',
'filename' => 'RegisterEventAutoload.php',
'filepath' => 'hooks',
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment