sf4, fix errors with report bundle, adapt new config yaml directory

This commit is contained in:
2020-08-03 21:15:03 +02:00
parent d983247514
commit 00c3d1cb97
10 changed files with 11 additions and 13 deletions

View File

@@ -25,11 +25,11 @@ class ChillReportExtension extends Extension implements PrependExtensionInterfac
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.yml');
$loader->load('services/fixtures.yml');
$loader->load('services/export.yml');
$loader->load('services/controller.yml');
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
$loader->load('services.yaml');
$loader->load('services/fixtures.yaml');
$loader->load('services/export.yaml');
$loader->load('services/controller.yaml');
}
/**
@@ -75,7 +75,7 @@ class ChillReportExtension extends Extension implements PrependExtensionInterfac
$container->prependExtensionConfig('chill_main', array(
'routing' => array(
'resources' => array(
'@ChillReportBundle/Resources/config/routing.yml'
'@ChillReportBundle/config/routes.yaml'
)
)
));