You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
984 B

7 years ago
  1. <?php
  2. defined('BASEPATH') OR exit('No direct script access allowed');
  3. /*
  4. | -------------------------------------------------------------------------
  5. | Hooks
  6. | -------------------------------------------------------------------------
  7. | This file lets you define "hooks" to extend CI without hacking the core
  8. | files. Please see the user guide for info:
  9. |
  10. | https://codeigniter.com/user_guide/general/hooks.html
  11. |
  12. */
  13. $hook['pre_controller'][] = array(
  14. 'class' => 'HookPreController',
  15. 'function' => 'init',
  16. 'filename' => 'HookPreController.php',
  17. 'filepath' => 'hooks'
  18. );
  19. $hook['post_controller_constructor'][] = array(
  20. 'class' => 'HookPostControllerConstructor',
  21. 'function' => 'init',
  22. 'filename' => 'HookPostControllerConstructor.php',
  23. 'filepath' => 'hooks'
  24. );
  25. $hook['display_override'][] = array(
  26. 'class' => 'HookDisplayOverride',
  27. 'function' => 'init',
  28. 'filename' => 'HookDisplayOverride.php',
  29. 'filepath' => 'hooks'
  30. );