Skip to content
Permalink
Browse files

Commit 6da0961 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 f97a533 and
disables $config['enable_hooks'] in htdocs/application/config/config.php.
It was introduced in b69c665.
  • Loading branch information...
larry_the_cow
larry_the_cow committed Nov 21, 2018
1 parent 9edcff6 commit e8e0fd123c9fbc77181d75e14c6acab08838132e
Showing with 3 additions and 7 deletions.
  1. +1 −1 htdocs/application/config/config.php
  2. +2 −6 htdocs/application/config/hooks.php
@@ -101,7 +101,7 @@
| setting this variable to TRUE (boolean). See the user guide for details.
|
*/
$config['enable_hooks'] = TRUE;
$config['enable_hooks'] = FALSE;
/*
@@ -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 */

0 comments on commit e8e0fd1

Please sign in to comment.
You can’t perform that action at this time.