update 31/01
This commit is contained in:
@@ -13,6 +13,7 @@ class AppAdmin
|
||||
protected $current_route_info = [
|
||||
"module" => 'home',
|
||||
"view" => 'home',
|
||||
"url" => '/admin/product'
|
||||
];
|
||||
|
||||
protected $data = [];
|
||||
@@ -52,10 +53,11 @@ class AppAdmin
|
||||
}else{
|
||||
$data = ['file data '. $module_file .' not found!'];
|
||||
}
|
||||
|
||||
|
||||
$global_data = [
|
||||
"module" => $this->current_route_info['module'],
|
||||
"view" => $this->current_route_info['view'],
|
||||
"view" => $this->current_route_info['view'],
|
||||
"url" => $this->current_route_info['url'],
|
||||
"main_menu" => include_once ROOT_DIR."/data/menu.php",
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user