sf4, setting new path for all config yaml files, and replace 'controller' path syntax in routes definitions

This commit is contained in:
2020-08-04 12:20:16 +02:00
parent f94fb0efc1
commit d4948b176f
17 changed files with 54 additions and 54 deletions

View File

@@ -24,16 +24,16 @@ class ChillEventExtension extends Extension implements PrependExtensionInterface
$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/authorization.yml');
$loader->load('services/controller.yml');
$loader->load('services/fixtures.yml');
$loader->load('services/forms.yml');
$loader->load('services/menu.yml');
$loader->load('services/repositories.yml');
$loader->load('services/search.yml');
$loader->load('services/timeline.yml');
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
$loader->load('services.yaml');
$loader->load('services/authorization.yaml');
$loader->load('services/controller.yaml');
$loader->load('services/fixtures.yaml');
$loader->load('services/forms.yaml');
$loader->load('services/menu.yaml');
$loader->load('services/repositories.yaml');
$loader->load('services/search.yaml');
$loader->load('services/timeline.yaml');
}
/* (non-PHPdoc)
@@ -56,7 +56,7 @@ class ChillEventExtension extends Extension implements PrependExtensionInterface
$container->prependExtensionConfig('chill_main', array(
'routing' => array(
'resources' => array(
'@ChillEventBundle/Resources/config/routing.yml'
'@ChillEventBundle/config/routes.yaml'
)
)
));