View difference between Paste ID: aBnvrZj9 and z8iFLcAq
SHOW: | | - or go back to the newest paste.
1
imports:
2
    - { resource: parameters.yml }
3
    - { resource: security.yml }
4
5
framework:
6
    #esi:             ~
7
    #translator:      { fallback: %locale% }
8
    secret:          %secret%
9
    router:
10
        resource: "%kernel.root_dir%/config/routing.yml"
11
        strict_requirements: ~
12
    form:            ~
13
    csrf_protection: ~
14
    validation:      { enable_annotations: true }
15
    templating:
16
        engines: ['twig','php']
17
        #assets_version: SomeVersionScheme
18
    default_locale:  "%locale%"
19
    trusted_proxies: ~
20
    session:         ~
21
    fragments:       ~
22
    http_method_override: true
23
    translator: { fallback: cz }
24
25
# Twig Configuration
26
twig:
27
    debug:            %kernel.debug%
28
    strict_variables: %kernel.debug%
29
30
# Assetic Configuration
31
assetic:
32
    debug:          %kernel.debug%
33
    use_controller: false
34
    bundles:        [ ]
35
    #java: /usr/bin/java
36
    filters:
37
        cssrewrite: ~
38
        #closure:
39
        #    jar: %kernel.root_dir%/Resources/java/compiler.jar
40
        #yui_css:
41
        #    jar: %kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar
42
43
# Doctrine Configuration
44
doctrine:
45
    dbal:
46
        driver:   %database_driver%
47
        host:     %database_host%
48
        port:     %database_port%
49
        dbname:   %database_name%
50
        user:     %database_user%
51
        password: %database_password%
52
        charset:  UTF8
53
        # if using pdo_sqlite as your database driver, add the path in parameters.yml
54
        # e.g. database_path: %kernel.root_dir%/data/data.db3
55
        # path:     %database_path%
56
    orm:
57
        entity_managers:
58
            default:
59
                filters:
60
                    softdeleteable:
61
                        class: Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter
62
                        enabled: true
63
                mappings:
64
                    gedmo_translatable:
65
                        type: annotation
66
                        prefix: Gedmo\Translatable\Entity
67
                        dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Translatable/Entity"
68
                        alias: GedmoTranslatable # this one is optional and will default to the name set for the mapping
69
                        is_bundle: false
70
                    gedmo_translator:
71
                        type: annotation
72
                        prefix: Gedmo\Translator\Entity
73
                        dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Translator/Entity"
74
                        alias: GedmoTranslator # this one is optional and will default to the name set for the mapping
75
                        is_bundle: false
76
                    gedmo_loggable:
77
                        type: annotation
78
                        prefix: Gedmo\Loggable\Entity
79
                        dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Loggable/Entity"
80
                        alias: GedmoLoggable # this one is optional and will default to the name set for the mapping
81
                        is_bundle: false
82
                    gedmo_tree:
83
                        type: annotation
84
                        prefix: Gedmo\Tree\Entity
85
                        dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Tree/Entity"
86
                        alias: GedmoTree # this one is optional and will default to the name set for the mapping
87
                        is_bundle: false    
88
89
stof_doctrine_extensions:
90
    default_locale: en_US
91
92
    # Only used if you activated the Uploadable extension
93
    uploadable:
94
        # Default file path: This is one of the three ways you can configure the path for the Uploadable extension
95
        default_file_path:       %kernel.root_dir%/../web/uploads
96
97
        # Mime type guesser class: Optional. By default, we provide an adapter for the one present in the HttpFoundation component of Symfony
98
        mime_type_guesser_class: Stof\DoctrineExtensionsBundle\Uploadable\MimeTypeGuesserAdapter
99
100
        # Default file info class implementing FileInfoInterface: Optional. By default we provide a class which is prepared to receive an UploadedFile instance.
101
        default_file_info_class: Stof\DoctrineExtensionsBundle\Uploadable\UploadedFileInfo
102
    orm:
103
        default:
104
            tree: true
105
            timestampable: false # not needed: listeners are not enabled by default
106
        other:
107
            timestampable: true
108
    mongodb:
109
        default: ~
110
        
111
# Swiftmailer Configuration
112
swiftmailer:
113
      transport:            smtp
114-
      username:             [email protected]
114+
      username:             
115-
      password:             w48565_1994
115+
      password:             
116-
      host:                 smtp-48565.m65.wedos.net
116+
      host:                 
117
      port:                 465
118
      encryption:           ssl