divers
This commit is contained in:
@@ -132,4 +132,4 @@ $autoload['language'] = array();
|
||||
|
|
||||
| $autoload['model'] = array('first_model' => 'first');
|
||||
*/
|
||||
$autoload['model'] = ['beheer/User'];
|
||||
$autoload['model'] = ['beheer/User_model'];
|
||||
|
||||
@@ -100,7 +100,7 @@ $config['charset'] = 'UTF-8';
|
||||
| setting this variable to TRUE (boolean). See the user guide for details.
|
||||
|
|
||||
*/
|
||||
$config['enable_hooks'] = FALSE;
|
||||
$config['enable_hooks'] = TRUE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -11,3 +11,13 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
| https://codeigniter.com/user_guide/general/hooks.html
|
||||
|
|
||||
*/
|
||||
|
||||
$hook['post_controller_constructor'][] = [
|
||||
'class' => 'EloquentHook',
|
||||
'function' => 'bootEloquent',
|
||||
'filename' => 'EloquentHook.php',
|
||||
'filepath' => 'hooks'
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user