Prueba de logs

parent c44b1e26
...@@ -35,8 +35,10 @@ class DefaultController extends Controller { ...@@ -35,8 +35,10 @@ class DefaultController extends Controller {
$id = "none"; $id = "none";
$ext = "png"; $ext = "png";
$firstAttempt = 1; $firstAttempt = 1;
}else if($idPersona != null && $firstAttempt != 0){
return $this->redirect($this->generateUrl('nutrapharm_homepage', array("idp" => $id, "extInicial" => $ext, "extFinal"=>"" ,"fa" => $firstAttempt, "r" => $reset)), 301); return $this->redirect($this->generateUrl('nutrapharm_homepage', array("idp" => $id, "extInicial" => $ext, "extFinal"=>"" ,"fa" => $firstAttempt, "r" => $reset)), 301);
} else { }
else {
$id = $idPersona; $id = $idPersona;
$usuario= UsuarioNutrapharmQuery::create()->filterByUnuIdNutrapharm($idPersona)->findOne(); $usuario= UsuarioNutrapharmQuery::create()->filterByUnuIdNutrapharm($idPersona)->findOne();
$ext = $usuario->getUnuExtInicial(); $ext = $usuario->getUnuExtInicial();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment