parent
0514638f58
commit
ec834d4317
@ -0,0 +1,89 @@ |
||||
services: |
||||
# default configuration for services in *this* file |
||||
_defaults: |
||||
# automatically injects dependencies in your services |
||||
autowire: true |
||||
# automatically registers your services as commands, event subscribers, etc. |
||||
autoconfigure: true |
||||
# this means you cannot fetch services directly from the container via $container->get() |
||||
# if you need to do this, you can override this setting on individual services |
||||
public: false |
||||
|
||||
# makes classes in src/ available to be used as services |
||||
# this creates a service per class whose id is the fully-qualified class name |
||||
AdminBundle\: |
||||
resource: '../../src/AdminBundle/*' |
||||
# you can exclude directories or files |
||||
# but if a service is unused, it's removed anyway |
||||
exclude: '../../src/AdminBundle/{ChamiloAdminBundle.php,Entity,Repository,Tests}' |
||||
|
||||
ClassificationBundle\: |
||||
resource: '../../src/ClassificationBundle/*' |
||||
# you can exclude directories or files |
||||
# but if a service is unused, it's removed anyway |
||||
exclude: '../../src/ClassificationBundle/{ChamiloClassificationBundle.php,Entity,Admin,Document,Repository,Tests}' |
||||
|
||||
ContactBundle\: |
||||
resource: '../../src/ContactBundle/*' |
||||
# you can exclude directories or files |
||||
# but if a service is unused, it's removed anyway |
||||
exclude: '../../src/ContactBundle/{ChamiloContactBundle.php,Entity,Admin,Controller,DependencyInjection,Form,Repository,Tests}' |
||||
|
||||
Chamilo\CoreBundle\: |
||||
resource: '../../src/CoreBundle/*' |
||||
# you can exclude directories or files |
||||
# but if a service is unused, it's removed anyway |
||||
exclude: '../../src/CoreBundle/{Admin,Block,Component,Composer,DependencyInjection,EventListener,Form,Framework,Menu,Migrations,Security,Settings,Twig,Controller,ChamiloCoreBundle.php,Entity,Repository,Tests}' |
||||
|
||||
Chamilo\CoreBundle\Controller\: |
||||
resource: '../../src/CoreBundle/Controller' |
||||
public: true |
||||
tags: ['controller.service_arguments'] |
||||
|
||||
Chamilo\UserBundle\: |
||||
resource: '../../src/UserBundle/*' |
||||
# you can exclude directories or files |
||||
# but if a service is unused, it's removed anyway |
||||
exclude: '../../src/UserBundle/{Admin,Block,Component,Composer,DependencyInjection,EventListener,Form,Framework,Menu,Migrations,Security,Settings,Twig,Controller,ChamiloUserBundle.php,Entity,Repository,Tests}' |
||||
|
||||
# controllers are imported separately to make sure they're public |
||||
# and have a tag that allows actions to type-hint services |
||||
# CoreBundle\Controller\: |
||||
# resource: '../../src/CoreBundle/Controller' |
||||
# public: true |
||||
# tags: ['controller.service_arguments'] |
||||
|
||||
|
||||
# Doctrine audit |
||||
sonata_doctrine_orm_admin: |
||||
audit: |
||||
force: false # Audits are set in the admin.yml files with audit:true |
||||
|
||||
# Grid default template |
||||
#apy_data_grid: |
||||
# theme: ChamiloCoreBundle::grid.html.twig |
||||
# |
||||
|
||||
# Platform settings (new) |
||||
sylius_settings: |
||||
driver: doctrine/orm |
||||
|
||||
# Course settings |
||||
chamilo_course: |
||||
driver: doctrine/orm |
||||
# resources: |
||||
# parameter: |
||||
# classes: |
||||
# model: Chamilo\CourseBundle\Entity\CCourseSetting |
||||
# repository: Chamilo\CourseBundle\Entity\Repository\CCourseSettingRepository |
||||
|
||||
doctrine_cache: |
||||
providers: |
||||
sylius_settings: |
||||
type: file_system |
||||
chamilo_settings: |
||||
type: file_system |
||||
|
||||
imports: |
||||
- {resource: ../../src/CoreBundle/Resources/config/services.yml} |
||||
- {resource: ../../vendor/knplabs/doctrine-behaviors/config/orm-services.yml} |
@ -0,0 +1,16 @@ |
||||
chamilo_course: |
||||
resource: "@ChamiloCourseBundle/Resources/config/routing.yml" |
||||
prefix: / |
||||
chamilo_contact: |
||||
resource: "@ChamiloContactBundle/Resources/config/routing.yml" |
||||
prefix: /contact |
||||
#chamilo_installer: |
||||
# resource: "@ChamiloInstallerBundle/Resources/config/routing.yml" |
||||
|
||||
# Always at the end |
||||
core_bundle: |
||||
resource: "@ChamiloCoreBundle/Resources/config/routing.yml" |
||||
page_bundle: |
||||
resource: "@ChamiloPageBundle/Resources/config/routing.yml" |
||||
faq: |
||||
resource: "@ChamiloFaqBundle/Resources/config/routing.yml" |
Loading…
Reference in new issue