X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fhooks.inc;h=85b7ae93544ada5e3cda343d8464ebee5d692d49;hb=HEAD;hp=6a158a762e266a7536f07ce26bcd9069a3639818;hpb=7124250802b8c978f3ad690f48d5130ba79dac30;p=fa-stable.git diff --git a/includes/hooks.inc b/includes/hooks.inc index 6a158a76..85b7ae93 100644 --- a/includes/hooks.inc +++ b/includes/hooks.inc @@ -20,7 +20,7 @@ // class hooks { var $module_name; // extension module name. - + var $path = null; // // Helper for updating databases with extension scheme // @@ -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