mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
Properly implement 'root' as a legal factory type
This commit is contained in:
@@ -45,7 +45,7 @@ class Admin_View_Core extends View {
|
||||
}
|
||||
|
||||
public function admin_menu() {
|
||||
$menu = new Menu(true);
|
||||
$menu = Menu::factory("root");
|
||||
core_menu::admin($menu, $this);
|
||||
|
||||
foreach (module::installed() as $module) {
|
||||
|
||||
Reference in New Issue
Block a user