diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-12-26 08:49:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-26 08:49:59 +0100 |
commit | 726e2cf3c648dc9536eea7ed1add298fc701211a (patch) | |
tree | 8c2c0000c8ec0e0d538dfffc4e1508ace68bfd49 /app/AppKernel.php | |
parent | 887073dedc0aea5c63f5d2656b0e88b97d1493d8 (diff) | |
parent | 0d9c8081fe770ff34e5206353e71bbd57c5b784c (diff) | |
download | wallabag-726e2cf3c648dc9536eea7ed1add298fc701211a.tar.gz wallabag-726e2cf3c648dc9536eea7ed1add298fc701211a.tar.zst wallabag-726e2cf3c648dc9536eea7ed1add298fc701211a.zip |
Merge pull request #3524 from wallabag/fix-assets-sub
Fix assets for subfolder install
Diffstat (limited to 'app/AppKernel.php')
-rw-r--r-- | app/AppKernel.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/AppKernel.php b/app/AppKernel.php index 90e9f1d8..40726f05 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php | |||
@@ -78,6 +78,12 @@ class AppKernel extends Kernel | |||
78 | 'base_url' => 'http://localhost:8080/', | 78 | 'base_url' => 'http://localhost:8080/', |
79 | ], | 79 | ], |
80 | ]); | 80 | ]); |
81 | } else { | ||
82 | $container->loadFromExtension('framework', [ | ||
83 | 'assets' => [ | ||
84 | 'base_url' => $container->getParameter('domain_name'), | ||
85 | ], | ||
86 | ]); | ||
81 | } | 87 | } |
82 | }); | 88 | }); |
83 | } | 89 | } |