summaryrefslogtreecommitdiffstats
path: root/user_guide/general/hooks.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/general/hooks.html')
-rw-r--r--user_guide/general/hooks.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/user_guide/general/hooks.html b/user_guide/general/hooks.html
index 33d343d82..a780a5cdd 100644
--- a/user_guide/general/hooks.html
+++ b/user_guide/general/hooks.html
@@ -69,6 +69,12 @@ For example, you might want to run a script right before your controllers get lo
your own scripts in some other location.
</p>
+<h2>Enabling Hooks</h2>
+
+<p>The hooks feature can be globally enabled/disabled by setting the following item in the <kbd>application/config/config.php</kbd> file:</p>
+
+<code>$config['enable_hooks'] = TRUE;</code>
+
<h2>Defining a Hook</h2>