From d5e8336f223dc87ce264feb68821265331751940 Mon Sep 17 00:00:00 2001 From: Hannes Giesenow Date: Thu, 25 Jul 2024 09:13:24 +0200 Subject: [PATCH] Fix path generation for assets:install --- src/ElbformatIconBundle.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ElbformatIconBundle.php b/src/ElbformatIconBundle.php index 151be4d..a8adfac 100644 --- a/src/ElbformatIconBundle.php +++ b/src/ElbformatIconBundle.php @@ -10,7 +10,8 @@ class ElbformatIconBundle extends Bundle { public function getPath(): string { - return dirname(__DIR__.'/..'); + $path = realpath(__DIR__.'/..'); + return false !== $path ? $path : __DIR__.'/..'; } }