diff options
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Hooks.php | 17 |
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() + } // -------------------------------------------------------------------- |