diff --git a/DependencyInjection/EzAmpExtension.php b/DependencyInjection/EzAmpExtension.php index 4268a2b..2fef25d 100644 --- a/DependencyInjection/EzAmpExtension.php +++ b/DependencyInjection/EzAmpExtension.php @@ -25,7 +25,7 @@ public function load(array $configs, ContainerBuilder $container) public function prepend(ContainerBuilder $container) { - $config = Yaml::parse( __DIR__ . '/../Resources/config/ezplatform.yml' ); + $config = Yaml::parse( file_get_contents(__DIR__ . '/../Resources/config/ezplatform.yml') ); $container->prependExtensionConfig( 'ezpublish', $config ); }