From e8694faad64502f6f20526bb2505de69032ed4a8 Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Wed, 20 Dec 2017 21:53:11 +0100 Subject: Remove fixed relative path for assets --- app/AppKernel.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app/AppKernel.php') diff --git a/app/AppKernel.php b/app/AppKernel.php index 90e9f1d8..c065d282 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -79,6 +79,14 @@ class AppKernel extends Kernel ], ]); } + else + { + $container->loadFromExtension('framework', [ + 'assets' => [ + 'base_url' => $container->getParameter('domain_name'), + ] + ]); + } }); } } -- cgit v1.2.3