icingaweb2/application/controllers/IframeController.php

21 lines
401 B
PHP
Raw Normal View History

2015-10-01 23:07:34 +02:00
<?php
/* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
2015-10-01 23:07:34 +02:00
namespace Icinga\Controllers;
2015-10-01 23:07:34 +02:00
use Icinga\Web\Controller;
/**
* Display external or internal links within an iframe
*/
class IframeController extends Controller
2015-10-01 23:07:34 +02:00
{
/**
* Display iframe w/ the given URL
*/
public function indexAction()
{
$this->view->url = $this->params->getRequired('url');
}
}