summaryrefslogtreecommitdiffstats
path: root/system/libraries/Hooks.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-03 01:17:20 +0200
committeradmin <devnull@localhost>2006-10-03 01:17:20 +0200
commite95cd263f6991d99e0103fe858f034b76be6d672 (patch)
tree6b54dbcbf967e66856237115c77fbc65f1ddbe2f /system/libraries/Hooks.php
parente26611f93bfb21f5e143cc91ce529f6db52cdd88 (diff)
Diffstat (limited to 'system/libraries/Hooks.php')
-rw-r--r--system/libraries/Hooks.php17
1 files changed, 14 insertions, 3 deletions
diff --git a/system/libraries/Hooks.php b/system/libraries/Hooks.php
index 69ca1a9f1..8767e10d0 100644
--- a/system/libraries/Hooks.php
+++ b/system/libraries/Hooks.php
@@ -40,7 +40,19 @@ class CI_Hooks {
function CI_Hooks()
{
log_message('debug', "Hooks Class Initialized");
-
+ $this->_initialize();
+ }
+
+ // --------------------------------------------------------------------
+
+ /**
+ * Initialize the Hooks Preferences
+ *
+ * @access private
+ * @return void
+ */
+ function _initialize()
+ {
$CFG =& _load_class('Config');
// If hooks are not enabled in the config file
@@ -63,8 +75,7 @@ class CI_Hooks {
$this->hooks =& $hook;
$this->enabled = TRUE;
- }
- // END CI_Hooks()
+ }
// --------------------------------------------------------------------