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
b7af8d7b
Commit
b7af8d7b
authored
Dec 31, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prueba
parent
3f11d29f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/FrontendBundle/Controller/IndexController.php
src/FrontendBundle/Controller/IndexController.php
+4
-4
No files found.
src/FrontendBundle/Controller/IndexController.php
View file @
b7af8d7b
...
...
@@ -38,7 +38,7 @@ class IndexController extends AbstractController {
$log
->
debug
(
"entrando...HOST :
$host
|IP :
$ip
|MSISDN ENTRANTE:
$msisdn
| MSISDN SESION :
$msisdnSesion
| MODAL :
$modal
"
);
//prueba
$session
->
set
(
'msisdn'
,
'998240036'
);
//
$session->set('msisdn','998240036');
if
(
$session
->
get
(
'msisdn'
))
{
$log
->
debug
(
"1-MSISDN sesion encontrado...."
);
$msisdn
=
$session
->
get
(
'msisdn'
);
...
...
@@ -53,16 +53,16 @@ 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 == "" && $modal == 0) {
}
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
$url
=
'http://m.entelmusic.cl/script_umusic.php?'
.
http_build_query
(
array
(
'url_retorno' => "$host/
app/musica
" //el msisdn se le agrega al final de la url como get, en el otro servidor(ej: ?msisdn=999999)
'url_retorno'
=>
"
$host
/"
//el msisdn se le agrega al final de la url como get, en el otro servidor(ej: ?msisdn=999999)
));
$statusCode
=
302
;
return
new
RedirectResponse
(
$url
,
$statusCode
);
}
*/
}
if
(
$session
->
get
(
'msisdn'
)
==
""
)
{
...
...
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