Fix I18N loader by modules, fix user hooks

This commit is contained in:
Bizarrus committed 2023-11-05 07:19:16 +01:00
1 parent b40bec7ca0
commit 78f67fc1cd
5 files changed
+13 -7

No files matched your search

+4
View File
@@ -67,6 +67,10 @@
return;
}
if(file_exists(sprintf('%s/languages/', $module->getPath()))) {
I18N::addPath(sprintf('%s/languages/', $module->getPath()));
}
$this->modules[$name] = $module->init($this->core);
}