mirror of
https://github.com/fruithost/Panel.git
synced 2026-12-01 21:05:04 +09:00
Fix I18N loader by modules, fix user hooks
This commit is contained in:
5 files changed
+13
-7
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user