Commit 6da09613 deleted htdocs/application/hooks/pick_language.php to fix #264,

but it did not remove the hook from htdocs/application/config/hooks.php.

This commit reverts htdocs/application/config/hooks.php back to f97a5331 and
disables $config['enable_hooks'] in htdocs/application/config/config.php.
It was introduced in b69c6650.
This commit is contained in:
larry_the_cow 2018-11-21 23:54:26 +00:00
parent 9edcff65da
commit e8e0fd123c
2 changed files with 3 additions and 7 deletions

View File

@ -101,7 +101,7 @@ $config['charset'] = 'UTF-8';
| setting this variable to TRUE (boolean). See the user guide for details.
|
*/
$config['enable_hooks'] = TRUE;
$config['enable_hooks'] = FALSE;
/*

View File

@ -10,11 +10,7 @@
|
*/
$hook['pre_controller'][] = array(
'function' => 'pick_language',
'filename' => 'pick_language.php',
'filepath' => 'hooks'
);
/* End of file hooks.php */
/* Location: ./application/config/hooks.php */
/* Location: ./application/config/hooks.php */