AM
Size: a a a
AM
AM
AM
AM
ЕР
D
AM
$app = $container->get(\Mezzio\Application::class);Оч сложно?
(require __DIR__ . '/../config/routes.php')($app, $factory, $container);
$app->run();
return static function (Application $app, MiddlewareFactory $factory, ContainerInterface $container): void {
$app->get('/', function () {
return new RedirectResponse('/users/profile/index');
});
$app->get('/default/index/index', function () {
return new RedirectResponse('/users/profile/index');
});
});
AM
AM
AC
AM
AM