setting new path for config files

This commit is contained in:
2020-07-31 14:42:37 +02:00
parent 9c1169644f
commit e517c72194
5 changed files with 13 additions and 13 deletions

View File

@@ -100,7 +100,7 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface,
array()
);
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
$loader->load('services.yml');
$loader->load('services/logger.yml');
$loader->load('services/repositories.yml');
@@ -180,7 +180,7 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface,
$container->prependExtensionConfig('chill_main', array(
'routing' => array(
'resources' => array(
'@ChillMainBundle/Resources/config/routing.yml'
'@ChillMainBundle/config/routing.yml'
)
)