parent
7aca4a0bc9
commit
0514638f58
@ -1,89 +0,0 @@ |
||||
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: true |
||||
|
||||
# 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} |
@ -1,16 +0,0 @@ |
||||
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" |
@ -1,12 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<doctrine-mongo-mapping |
||||
xmlns="http://doctrine-project.org/schemas/orm/doctrine-mongo-mapping" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mongo-mapping |
||||
http://doctrine-project.org/schemas/orm/doctrine-mongo-mapping.xsd"> |
||||
|
||||
<document name="Chamilo\ClassificationBundle\Document\Category" |
||||
collection="classificationCategory"> |
||||
<id fieldName="id" id="true"/> |
||||
</document> |
||||
</doctrine-mongo-mapping> |
@ -1,12 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<doctrine-mongo-mapping |
||||
xmlns="http://doctrine-project.org/schemas/orm/doctrine-mongo-mapping" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mongo-mapping |
||||
http://doctrine-project.org/schemas/orm/doctrine-mongo-mapping.xsd"> |
||||
|
||||
<document name="Chamilo\ClassificationBundle\Document\Tag" |
||||
collection="newsTag"> |
||||
<id fieldName="id" id="true"/> |
||||
</document> |
||||
</doctrine-mongo-mapping> |
Loading…
Reference in new issue