mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
add thirdparty bundle, fix errors, set new path for all config yaml files
This commit is contained in:
@@ -24,8 +24,15 @@ class ChillThirdPartyExtension extends Extension implements PrependExtensionInte
|
||||
$configuration = new Configuration();
|
||||
$config = $this->processConfiguration($configuration, $configs);
|
||||
|
||||
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
||||
$loader->load('services.yml');
|
||||
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
|
||||
$loader->load('services.yaml');
|
||||
$loader->load('services/controller.yaml');
|
||||
$loader->load('services/form.yaml');
|
||||
$loader->load('services/security.yaml');
|
||||
$loader->load('services/3partytype.yaml');
|
||||
$loader->load('services/search.yaml');
|
||||
$loader->load('services/templating.yaml');
|
||||
$loader->load('services/menu.yaml');
|
||||
}
|
||||
|
||||
public function prepend(ContainerBuilder $container)
|
||||
@@ -40,7 +47,7 @@ class ChillThirdPartyExtension extends Extension implements PrependExtensionInte
|
||||
$container->prependExtensionConfig('chill_main', array(
|
||||
'routing' => array(
|
||||
'resources' => array(
|
||||
'@ChillThirdPartyBundle/Resources/config/routing.yml'
|
||||
'@ChillThirdPartyBundle/config/routes.yaml'
|
||||
)
|
||||
)
|
||||
));
|
||||
|
Reference in New Issue
Block a user