diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2017-12-20 21:53:11 +0100 |
---|---|---|
committer | Kevin Decherf <kevin@kdecherf.com> | 2017-12-20 21:53:48 +0100 |
commit | e8694faad64502f6f20526bb2505de69032ed4a8 (patch) | |
tree | 0d6ced87f87c5293cfa844de387c18db0733ef9f /app/AppKernel.php | |
parent | 887073dedc0aea5c63f5d2656b0e88b97d1493d8 (diff) | |
download | wallabag-e8694faad64502f6f20526bb2505de69032ed4a8.tar.gz wallabag-e8694faad64502f6f20526bb2505de69032ed4a8.tar.zst wallabag-e8694faad64502f6f20526bb2505de69032ed4a8.zip |
Remove fixed relative path for assets
Diffstat (limited to 'app/AppKernel.php')
-rw-r--r-- | app/AppKernel.php | 8 |
1 files changed, 8 insertions, 0 deletions
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 | |||
79 | ], | 79 | ], |
80 | ]); | 80 | ]); |
81 | } | 81 | } |
82 | else | ||
83 | { | ||
84 | $container->loadFromExtension('framework', [ | ||
85 | 'assets' => [ | ||
86 | 'base_url' => $container->getParameter('domain_name'), | ||
87 | ] | ||
88 | ]); | ||
89 | } | ||
82 | }); | 90 | }); |
83 | } | 91 | } |
84 | } | 92 | } |