mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
force enable hooks
This commit is contained in:
@@ -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'))
|
||||||
|
|||||||
Reference in New Issue
Block a user