From: Janusz Dobrowolski Date: Fri, 15 Mar 2024 10:43:52 +0000 (+0100) Subject: Fixed language modules locale.inc integration. X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=331673104c056da093f60cde57d731371fbdc6ee Fixed language modules locale.inc integration. --- diff --git a/includes/hooks.inc b/includes/hooks.inc index 1fbcd0e7..85b7ae93 100644 --- a/includes/hooks.inc +++ b/includes/hooks.inc @@ -234,6 +234,7 @@ function install_hooks($lang_code=null) $code = $lang_code; $hook_class = 'hooks_'.$code; $Hooks[$code] = new $hook_class; + $Hooks[$code]->path = "/lang/" . $lang_code . "/locale.inc"; unset($code, $hook_class); } // install hooks provided by active extensions