1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-16 18:14:04 +02:00

Flextype Box Plugin: Admin #125 #117

- Information Controller/Views implementation
This commit is contained in:
Awilum
2019-06-02 01:00:51 +03:00
parent 1a19dc6ae9
commit ddb911429a

View File

@@ -6,16 +6,7 @@ use function Flextype\Component\I18n\__;
class InformationController extends Controller
{
private $view;
private $router;
public function __construct($container)
{
$this->view = $container->view;
$this->router = $container->router;
}
public function index(/** @scrutinizer ignore-unused */ $request, $response, /** @scrutinizer ignore-unused */ $args)
public function index(/** @scrutinizer ignore-unused */ $request, $response)
{
if (function_exists('apache_get_modules')) {
if (!in_array('mod_rewrite', apache_get_modules())) {