<?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/userguide3/general/hooks.html
|
*/
$hook['post_controller_constructor'][] = array(
  'class'    => 'maintenance_hook',
  'function' => 'offline_check',
  'filename' => 'maintenance_hook.php',
  'filepath' => 'hooks'
);
$hook['post_controller_constructor'][] = array(
  'class'    => 'app_settings_hook',
  'function' => 'get_settings',
  'filename' => 'app_settings_hook.php',
  'filepath' => 'hooks'
);
