projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad18b13
)
Fixed language modules locale.inc integration.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Fri, 15 Mar 2024 10:43:52 +0000
(11:43 +0100)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Fri, 15 Mar 2024 10:43:52 +0000
(11:43 +0100)
includes/hooks.inc
patch
|
blob
|
history
diff --git
a/includes/hooks.inc
b/includes/hooks.inc
index 1fbcd0e79b2d317da7439e1659bd8e6cbbebd737..85b7ae93544ada5e3cda343d8464ebee5d692d49 100644
(file)
--- 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