前端组件调整,剔除无用文件
This commit is contained in:
@@ -51,6 +51,9 @@ class AdminAuth {
|
||||
Cache::set('menu', $menu);
|
||||
}
|
||||
foreach ($menu as $key => $value) {
|
||||
if($current_url == $value['url']){
|
||||
$this->data['meta_title'] = $value['title'];
|
||||
}
|
||||
if ($request->isAdmin || in_array($value['id'], array())) {
|
||||
$list[$value['id']] = $value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user