From: vincent@cubedesigners.com Date: Thu, 4 Nov 2021 16:52:51 +0000 (+0000) Subject: wip #3753 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f277782b1d3a0569b69c8b29782b5349b58634c1;p=fluidbook-v3.git wip #3753 --- diff --git a/framework/application/controllers/AjaxController.php b/framework/application/controllers/AjaxController.php index 57a4ce7..d4a7a26 100644 --- a/framework/application/controllers/AjaxController.php +++ b/framework/application/controllers/AjaxController.php @@ -23,6 +23,9 @@ class AjaxController extends CubeIT_Controller_AjaxController $data['gclid'] = Bootstrap::getInstance()->getSession()->gclid; } + $url = 'https://workshop.fluidbook.com/ajax/demandeDevis?devis_form=' . base64_encode(json_encode($data)); + file_get_contents($url); + $url = 'https://toolbox.fluidbook.com/fluidbook-quote/create-from-website?data=' . base64_encode(json_encode($data)); $this->_datas->addDebug($url); $json = json_decode(file_get_contents($url));