* Optimize main and ext files get, and add get default lang function.

This commit is contained in:
caoyanyi
2023-02-15 11:22:42 +08:00
parent 0d5f437607
commit 3bf16c880e
4 changed files with 90 additions and 53 deletions

View File

@@ -89,10 +89,12 @@ class dev extends control
* @access public
* @return void
*/
public function langItem($type = 'common')
public function langItem($type = 'common', $module = 'my', $method = 'browse')
{
$this->dev->loadLang();
$this->view->title = $this->lang->langItem;
$this->view->type = $type;
$this->view->featureBar = $this->lang->dev->featureBar['langItem'];
$this->display();
}
}