* adjust for editor.

This commit is contained in:
wangyidong
2023-03-09 11:30:39 +08:00
parent 99f54fc955
commit 4549e19e5d
3 changed files with 13 additions and 3 deletions
+2
View File
@@ -50,6 +50,8 @@ class editor extends control
*/
public function extend($moduleDir = '')
{
if(!isset($this->lang->{$moduleDir}->common)) $this->app->loadLang($moduleDir);
$moduleFiles = $this->editor->getModuleFiles($moduleDir);
$this->view->module = $moduleDir;
$this->view->tree = $this->editor->printTree($moduleFiles);