Advertisement
Guest User

Untitled

a guest
May 10th, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.86 KB | None | 0 0
  1. imports:
  2.     - { resource: parameters.yml }
  3.     - { resource: security.yml }
  4.     - { resource: services.yml }
  5.     - { resource: "@AndrewBlogBundle/Resources/config/services.yml" }
  6.  
  7. # Put parameters here that don't need to change on each machine where the app is deployed
  8. # http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
  9. parameters:
  10.     locale: pl
  11.  
  12. framework:
  13.    #esi:             ~
  14.     translator:     { fallbacks: ["%locale%"] }
  15.     secret:         "%secret%"
  16.     router:
  17.         resource: "%kernel.root_dir%/config/routing.yml"
  18.         strict_requirements: ~
  19.     form:           ~
  20.     csrf_protection: ~
  21.     validation:     { enable_annotations: true }
  22.     #serializer:      { enable_annotations: true }
  23.     templating:
  24.         engines: ['twig']
  25.     default_locale: "%locale%"
  26.     trusted_hosts:  ~
  27.     trusted_proxies: ~
  28.     session:
  29.        # http://symfony.com/doc/current/reference/configuration/framework.html#handler-id
  30.         handler_id: session.handler.native_file
  31.         save_path:  "%kernel.root_dir%/../var/sessions/%kernel.environment%"
  32.     fragments:      ~
  33.     http_method_override: true
  34.     assets: ~
  35.  
  36. # Twig Configuration
  37. twig:
  38.     debug:           "%kernel.debug%"
  39.     strict_variables: "%kernel.debug%"
  40.  
  41. # Doctrine Configuration
  42. doctrine:
  43.     dbal:
  44.         driver:  pdo_mysql
  45.         host:    "%database_host%"
  46.         port:    "%database_port%"
  47.         dbname:  "%database_name%"
  48.         user:    "%database_user%"
  49.         password: "%database_password%"
  50.         charset: UTF8
  51.         # if using pdo_sqlite as your database driver:
  52.         #   1. add the path in parameters.yml
  53.         #     e.g. database_path: "%kernel.root_dir%/data/data.db3"
  54.         #   2. Uncomment database_path in parameters.yml.dist
  55.         #   3. Uncomment next line:
  56.         #     path:     "%database_path%"
  57.  
  58.     orm:
  59.         auto_generate_proxy_classes: "%kernel.debug%"
  60.         naming_strategy: doctrine.orm.naming_strategy.underscore
  61.         auto_mapping: true
  62.  
  63. # Swiftmailer Configuration
  64. swiftmailer:
  65.     transport: "%mailer_transport%"
  66.     host:     "%mailer_host%"
  67.     username: "%mailer_user%"
  68.     password: "%mailer_password%"
  69.     spool:    { type: memory }
  70.  
  71.  
  72. assetic:
  73.     debug:         '%kernel.debug%'
  74.     use_controller: '%kernel.debug%'
  75.     bundles:       [ AndrewBlogBundle ] # dodatkowy parametr w razie błędów
  76.     java: 'C:\Program Files (x86)\Java\jre1.8.0_91\bin\java.exe'
  77.     filters:
  78.         cssrewrite: ~
  79.         yui_css:
  80.             jar: '%kernel.root_dir%/Resources/java/yuicompressor.jar'
  81.         yui_js:
  82.             jar: '%kernel.root_dir%/Resources/java/yuicompressor.jar'
  83.  
  84.  
  85. fos_user:
  86.     db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
  87.     firewall_name: main
  88.     user_class: AndrewBlogBundle\Entity\User
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement