force enable hooks

This commit is contained in:
HB9HIL
2024-06-06 10:46:47 +02:00
parent 338b1ff3d9
commit 8cc66870ca

View File

@@ -92,10 +92,11 @@ class CI_Hooks {
// If hooks are not enabled in the config file // If hooks are not enabled in the config file
// there is nothing else to do // there is nothing else to do
if ($config->item('enable_hooks') === FALSE)
{ // if ($config->item('enable_hooks') === FALSE) // we force-enabeled hooks for the gettext translations
return; // {
} // return;
// }
// Grab the "hooks" definition file. // Grab the "hooks" definition file.
if (file_exists(APPPATH.'config/hooks.php')) if (file_exists(APPPATH.'config/hooks.php'))