From e8e0fd123c9fbc77181d75e14c6acab08838132e Mon Sep 17 00:00:00 2001 From: larry_the_cow Date: Wed, 21 Nov 2018 23:54:26 +0000 Subject: 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. --- htdocs/application/config/config.php | 2 +- htdocs/application/config/hooks.php | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/htdocs/application/config/config.php b/htdocs/application/config/config.php index 7d2b164..d2feb65 100644 --- a/htdocs/application/config/config.php +++ b/htdocs/application/config/config.php @@ -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; /* diff --git a/htdocs/application/config/hooks.php b/htdocs/application/config/hooks.php index 6e41765..a4ad2be 100644 --- a/htdocs/application/config/hooks.php +++ b/htdocs/application/config/hooks.php @@ -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 */ \ No newline at end of file -- cgit v1.2.3