#4 fix lineas de prueba

parent c674695a
......@@ -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"]));
}
......
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