Added an page to view infos about the server (Part-DB, PHP and DB config

This commit is contained in:
Jan Böhmer 2022-11-06 01:07:10 +01:00
parent 78d1dff40f
commit 34fbcec00f
10 changed files with 1287 additions and 1018 deletions

View file

@ -291,6 +291,13 @@ class ToolsTreeBuilder
))->setIcon('fa-fw fa-treeview fa-solid fa-binoculars');
}
if ($this->security->isGranted('@system.server_infos')) {
$nodes[] = (new TreeViewNode(
$this->translator->trans('tools.server_infos.title'),
$this->urlGenerator->generate('tools_server_infos')
))->setIcon('fa-fw fa-treeview fa-solid fa-database');
}
return $nodes;
}
}