getUri()->getPath() === '/user/shop') { return $response->withHeader('Location', '/user/cloud#plans')->withStatus(302); } $response->getBody()->write(View::getSmarty('venix')->fetch('cloud/index.tpl')); return $response; } }