From 8d7cdd1fe22e93717b36e0807faa14b53c68e174 Mon Sep 17 00:00:00 2001 From: cbeauvoi Date: Fri, 26 Jul 2019 16:49:42 +0200 Subject: [PATCH] debug --- BillingBundle/Service/BillingSrv.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BillingBundle/Service/BillingSrv.php b/BillingBundle/Service/BillingSrv.php index 52055a1..4c5593a 100644 --- a/BillingBundle/Service/BillingSrv.php +++ b/BillingBundle/Service/BillingSrv.php @@ -15,7 +15,7 @@ class BillingSrv $ngrok_prefix = $this->container->getParameter('dev_ngrok_prefix'); - $this->url_prefix = $env == ("dev" && !empty($ngrok_prefix)) + $this->url_prefix = ($env == "dev" && !empty($ngrok_prefix)) ? $ngrok_prefix : $container->get('router')->getContext()->getBaseUrl(); }