You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
517 B
PHP
23 lines
517 B
PHP
<?php
|
|
use Psr\Http\Message\ResponseInterface;
|
|
use Psr\Http\Message\ServerRequestInterface;
|
|
use Slim\Views\Twig;
|
|
|
|
class IndexControl
|
|
{
|
|
public static function start(
|
|
ServerRequestInterface $request,
|
|
ResponseInterface $response,
|
|
array $args
|
|
): ResponseInterface {
|
|
//unset($_SESSION);
|
|
$view = Twig::fromRequest($request);
|
|
return $view->render($response, "front/start.twig", [
|
|
"title" => "Fipamo Dash",
|
|
"status" => false,
|
|
"pages" => [],
|
|
"totalPages" => 0,
|
|
]);
|
|
}
|
|
}
|