Автор: Wouter Sioen (wouter.sioen@wijs.be)
Пример #1
0
 public function step5Action(Request $request)
 {
     $this->checkInstall();
     // show database form
     $form = $this->createForm(new LoginType(), $this->getInstallationData($request));
     $handler = new LoginHandler();
     if ($handler->process($form, $request)) {
         return $this->redirect($this->generateUrl('install_step6'));
     }
     return $this->render('ForkCMSInstallerBundle:Installer:step5.html.twig', array('form' => $form->createView()));
 }