CodeIgniter 启用钩子

钩子功能可以在全局范围内打开或关闭,您可以在 application/config/config.php 文件中设定:$config['enable_hooks'] = TRUE;