icingaweb2/modules/doc/application/controllers/IndexController.php

20 lines
463 B
PHP
Raw Normal View History

2013-10-16 14:45:23 +02:00
<?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}}
use Icinga\Application\Icinga;
use Icinga\Module\Doc\Controller as DocController;
2013-10-16 14:45:23 +02:00
class Doc_IndexController extends DocController
2013-10-16 14:45:23 +02:00
{
/**
* Display the application's documentation
*/
2013-10-16 14:45:23 +02:00
public function indexAction()
{
$this->populateViewFromDocDirectory(Icinga::app()->getApplicationDir('/../doc'));
2013-10-16 14:45:23 +02:00
}
}
// @codingStandardsIgnoreEnd