From 8cc66870ca3ff68d00fe845db72edf64f218419c Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Thu, 6 Jun 2024 10:46:47 +0200 Subject: [PATCH] force enable hooks --- system/core/Hooks.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/system/core/Hooks.php b/system/core/Hooks.php index 864c59d25..7577163fa 100644 --- a/system/core/Hooks.php +++ b/system/core/Hooks.php @@ -92,10 +92,11 @@ class CI_Hooks { // If hooks are not enabled in the config file // there is nothing else to do - if ($config->item('enable_hooks') === FALSE) - { - return; - } + + // if ($config->item('enable_hooks') === FALSE) // we force-enabeled hooks for the gettext translations + // { + // return; + // } // Grab the "hooks" definition file. if (file_exists(APPPATH.'config/hooks.php'))