aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/languages.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/languages.php')
-rw-r--r--engine/lib/languages.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index a81cd13b3..696d3eff4 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -78,8 +78,7 @@
* @param unknown_type $object_type
* @param unknown_type $object
*/
- function load_translations($event, $object_type, $object) {
-
+ function init_translations() {
global $CONFIG;
register_translations($CONFIG->path . "languages/");
@@ -100,6 +99,6 @@
}
}
- register_event_handler("boot","system","load_translations");
+ register_event_handler("boot","system","init_translations",5);
?> \ No newline at end of file