This commit is contained in:
2024-01-29 11:46:07 +07:00
parent ba4ca85fd1
commit 507ea95304
2 changed files with 13 additions and 5 deletions

View File

@@ -73,6 +73,10 @@ class AppAdmin
protected function renderModule() {
if(!$this->current_route_info['module'] || !$this->current_route_info['view']) {
die("Module not exist");
}
$template_file_path = $this->tpl_path ."/". $this->current_route_info['module'];
$template_file_name = $this->current_route_info['view'].".html";
$template_file_full_path = $template_file_path."/".$template_file_name;