From 74fe467fbaeb0ed067b514f93a110440556683d2 Mon Sep 17 00:00:00 2001 From: crevillo Date: Sat, 9 Dec 2017 18:21:43 +0100 Subject: [PATCH] make it work with symfony 3 --- DependencyInjection/EzAmpExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); }