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__.'/..'; } }