Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.38 KB | None | 0 0
  1. imports:
  2.     - { resource: parameters.ini }
  3.     - { resource: security.yml }
  4.  
  5. framework:
  6.     secret:       %secret%
  7.     charset:      UTF-8
  8.     error_handler: null
  9.     csrf_protection:
  10.         enabled: true
  11.     router:       { resource: "%kernel.root_dir%/config/routing.yml" }
  12.     validation:   { enabled: true, annotations: true }
  13.     templating:   { engines: ['twig'] } #assets_version: SomeVersionScheme
  14.     session:
  15.         default_locale: %locale%
  16.         lifetime:      3600
  17.         auto_start:    true
  18.  
  19. # Twig Configuration
  20. twig:
  21.     debug:           %kernel.debug%
  22.     strict_variables: %kernel.debug%
  23.  
  24. # Assetic Configuration
  25. assetic:
  26.     debug:         %kernel.debug%
  27.     use_controller: false
  28.     filters:
  29.         cssrewrite: ~
  30.         # closure:
  31.         #     jar: %kernel.root_dir%/java/compiler.jar
  32.         # yui_css:
  33.         #     jar: %kernel.root_dir%/java/yuicompressor-2.4.2.jar
  34. #        less:
  35. #            node: /usr/local/bin/node
  36. #            node_paths: [/usr/local/lib/node]
  37. #        yui_css:
  38. #            jar: %kernel.root_dir%/../java/yuicompressor-2.4.6.jar
  39. #        yui_js:
  40. #            jar: %kernel.root_dir%/../java/yuicompressor-2.4.6.jar
  41.  
  42. # Doctrine Configuration
  43. doctrine:
  44.     dbal:
  45.         driver:  %database_driver%
  46.         host:    %database_host%
  47.         dbname:  %database_name%
  48.         user:    %database_user%
  49.         password: %database_password%
  50.  
  51.     orm:
  52.         auto_generate_proxy_classes: %kernel.debug%
  53. #        auto_mapping: true
  54. #        mappings:
  55. #          StofDoctrineExtensionsBundle: ~
  56.         entity_managers:
  57.             default:
  58.                 mappings:
  59.                     PozitivnapBundle: { type: annotation, dir: Entity/ }
  60.                     StofDoctrineExtensionsBundle: { type: annotation }
  61. #                    PozitivnapBundle: ~
  62. #                    StofDoctrineExtensionsBundle: ~
  63.  
  64. # Swiftmailer Configuration
  65. swiftmailer:
  66.     transport: %mailer_transport%
  67.     host:     %mailer_host%
  68.     username: %mailer_user%
  69.     password: %mailer_password%
  70.  
  71. jms_security_extra:
  72.     secure_controllers: true
  73.     secure_all_services: false
  74.  
  75. stof_doctrine_extensions:
  76.     default_locale: en_US
  77.     orm:
  78.         default:
  79.             tree:          false
  80.             timestampable: false
  81.             sluggable:     true
  82.             translatable:  false
  83.             loggable:      false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement