Skip to content

Instantly share code, notes, and snippets.

@kurozumi
Created May 6, 2016 07:43
Show Gist options
  • Save kurozumi/ab74998c81a334f4ec41d3f729d0cbbb to your computer and use it in GitHub Desktop.
Save kurozumi/ab74998c81a334f4ec41d3f729d0cbbb to your computer and use it in GitHub Desktop.
【CodeIgniter3】エラーページを切り替える
<?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"] = [
'class' => 'Hooks',
'function' => 'set_error_views_path',
'filename' => 'Hooks.php',
'filepath' => 'hooks',
'params' => []
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment