summaryrefslogtreecommitdiffstats
path: root/user_guide/general/hooks.html
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-02 19:34:52 +0200
committeradmin <devnull@localhost>2006-09-02 19:34:52 +0200
commit2ed76d5ac89ec7869dcb64c050360fb2f99e9326 (patch)
treed9a8a11e7b94bb51088aaa06e128f99a1c5adc60 /user_guide/general/hooks.html
parent51cf423e1e41f573f87176d28affa50efda46c45 (diff)
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>