Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
backend-mcafee
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
backend-mcafee
Commits
00afc120
Commit
00afc120
authored
Oct 19, 2020
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#4 fix lineas de prueba
parent
c674695a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/CampaniaFrontBundle/Controller/CampaniaFrontController.php
...ampaniaFrontBundle/Controller/CampaniaFrontController.php
+3
-3
No files found.
src/CampaniaFrontBundle/Controller/CampaniaFrontController.php
View file @
00afc120
...
...
@@ -22,7 +22,7 @@ class CampaniaFrontController extends Controller {
try
{
$url
=
Utiles
::
getParametroConfiguracion
(
"url_base_api"
)
.
Utiles
::
getParametroConfiguracion
(
"path_api_obtener_contenido_campania"
);
print_r
(
$url
);
//
print_r($url);
$ch
=
curl_init
(
$url
);
//curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
curl_setopt
(
$ch
,
CURLOPT_POST
,
1
);
...
...
@@ -39,8 +39,8 @@ class CampaniaFrontController extends Controller {
}
//MODO DE PRUEBA
print_r
(
$htmlContent
);
exit
();
//
print_r($htmlContent);
//
exit();
return
$this
->
render
(
'front/campania/prueba.html.twig'
,
array
(
"templateCss"
=>
$htmlContent
[
"templateCss"
],
"headContent"
=>
$htmlContent
[
"contenidoHead"
],
"bodyContent"
=>
$htmlContent
[
"contenidoBody"
],
"footerContent"
=>
$htmlContent
[
"contenidoFooter"
]));
}
...
...
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