Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
musica_listas_umusic
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
musica_listas_umusic
Commits
e68f1098
Commit
e68f1098
authored
Aug 21, 2019
by
Ana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cambios
parent
4fcd8963
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/FrontendBundle/Controller/IndexController.php
src/FrontendBundle/Controller/IndexController.php
+3
-1
No files found.
src/FrontendBundle/Controller/IndexController.php
View file @
e68f1098
...
...
@@ -48,7 +48,7 @@ class IndexController extends AbstractController {
$log
->
debug
(
"generando registro de sesion en BD para el msisdn
$msisdn
...."
);
$this
->
generarRegistroSession
(
$em
,
$msisdn
);
}
}
else
if
(
!
$session
->
get
(
'msisdn'
)
&&
$msisdn
==
""
)
{
}
else
if
(
!
$session
->
get
(
'msisdn'
)
&&
$msisdn
==
""
&&
$modal
==
0
)
{
$log
->
debug
(
"3-No se pudo obtener el msisdn...."
);
$code
=
Utiles
::
generarCodiogUnico
(
$ip
);
//redirect a php que esta en otro servidor
...
...
@@ -146,6 +146,8 @@ class IndexController extends AbstractController {
public
function
validarMsisdn
(
Request
$request
)
:
Response
{
$log
=
Utiles
::
setLog
(
'App\FrontendBundle\Controller::IndexController::validarMsisdn'
,
'app/frontend/presentacion'
);
$msisdn
=
$request
->
get
(
"msisdn"
);
$modal
=
$request
->
get
(
"m"
,
0
);
$ua
=
$request
->
headers
->
get
(
'User-Agent'
);
$ip
=
$request
->
getClientIp
();
$em
=
$this
->
getDoctrine
()
->
getManager
(
'default'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment