X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=includes%2Fhooks.inc;fp=includes%2Fhooks.inc;h=85b7ae93544ada5e3cda343d8464ebee5d692d49;hp=1fbcd0e79b2d317da7439e1659bd8e6cbbebd737;hb=331673104c056da093f60cde57d731371fbdc6ee;hpb=ad18b139db8bf7550225bb670bc83c920a97c8a3 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