aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarry_the_cow <larry@gentoo.org>2018-11-21 23:54:26 +0000
committerlarry_the_cow <larry@gentoo.org>2018-11-21 23:54:26 +0000
commite8e0fd123c9fbc77181d75e14c6acab08838132e (patch)
tree4b7cc02d2c9c9018dbcf1d6736b39bfa71fd1b11
parent9edcff65daef96e558551630e048d102e8d4e985 (diff)
downloadstikked-fit-e8e0fd123c9fbc77181d75e14c6acab08838132e.tar.gz
stikked-fit-e8e0fd123c9fbc77181d75e14c6acab08838132e.tar.bz2
stikked-fit-e8e0fd123c9fbc77181d75e14c6acab08838132e.zip
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.
-rw-r--r--htdocs/application/config/config.php2
-rw-r--r--htdocs/application/config/hooks.php8
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy