mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-04-05 17:25:50 -04:00
Add SPDX license headers and mark source files as GPL-3.0-or-later to preserve the option to relicense under later GPL versions.
29 lines
875 B
PHP
29 lines
875 B
PHP
<?php
|
|
|
|
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
namespace Icinga\Controllers;
|
|
|
|
use Icinga\Application\Icinga;
|
|
use Icinga\Application\Version;
|
|
use Icinga\Web\Controller;
|
|
|
|
class AboutController extends Controller
|
|
{
|
|
public function indexAction()
|
|
{
|
|
$this->view->version = Version::get();
|
|
$this->view->libraries = Icinga::app()->getLibraries();
|
|
$this->view->modules = Icinga::app()->getModuleManager()->getLoadedModules();
|
|
$this->view->title = $this->translate('About');
|
|
$this->view->tabs = $this->getTabs()->add(
|
|
'about',
|
|
array(
|
|
'label' => $this->translate('About'),
|
|
'title' => $this->translate('About Icinga Web 2'),
|
|
'url' => 'about'
|
|
)
|
|
)->activate('about');
|
|
}
|
|
}
|