<?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['post_controller_constructor'][] = array(
	'class' => 'OES_Auth',
	'function' => 'checkAuthenticatedUser',
	'filename' => 'OES_Auth_test.php',
	'filepath' => 'hooks',
	);

$hook['post_controller_constructor'][] = array(
	'class' => 'OES_Auth',
	'function' => 'checkAccessPermissions',
	'filename' => 'OES_Auth_test.php',
	'filepath' => 'hooks',
	);

$hook['display_override'][] = array(
	'class' => 'OES_Display',
	'function' => 'RenderTemplate',
	'filename' => 'OES_display_test.php',
	'filepath' => 'hooks',
	);