Advertisement
Guest User

Untitled

a guest
Dec 5th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. imports:
  2. - { resource: parameters.yml }
  3. - { resource: security.yml }
  4.  
  5. framework:
  6. #esi: ~
  7. translator: { fallback: el }
  8. secret: %secret%
  9. router:
  10. resource: "%kernel.root_dir%/config/routing.yml"
  11. strict_requirements: %kernel.debug%
  12. form: true
  13. csrf_protection: true
  14. validation: { enable_annotations: true }
  15. templating: { engines: ['twig'] } #assets_version: SomeVersionScheme
  16. default_locale: el
  17. trust_proxy_headers: false # Whether or not the Request object should trust proxy headers (X_FORWARDED_FOR/HTTP_CLIENT_IP)
  18. session: ~
  19.  
  20. # Twig Configuration
  21. twig:
  22. debug: true
  23. strict_variables: %kernel.debug%
  24. cache: false
  25.  
  26. # Assetic Configuration
  27. assetic:
  28. debug: %kernel.debug%
  29. use_controller: false
  30. bundles: [ ]
  31. #java: /usr/bin/java
  32. filters:
  33. cssrewrite: ~
  34. #closure:
  35. # jar: %kernel.root_dir%/Resources/java/compiler.jar
  36. #yui_css:
  37. # jar: %kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar
  38.  
  39. # Doctrine Configuration
  40. doctrine:
  41. dbal:
  42. driver: %database_driver%
  43. host: %database_host%
  44. port: %database_port%
  45. dbname: %database_name%
  46. user: %database_user%
  47. password: %database_password%
  48. charset: UTF8
  49. orm:
  50. auto_generate_proxy_classes: %kernel.debug%
  51. auto_mapping: true
  52.  
  53. # Swiftmailer Configuraftion
  54. swiftmailer:
  55. transport: smtp
  56. encryption: tls
  57. auth_mode: login
  58. host: x
  59. username: x
  60. password: x
  61.  
  62.  
  63. liip_imagine:
  64. filter_sets:
  65. big:
  66. filters:
  67. thumbnail: { size: [300, 300], mode: inset }
  68. thumbnail:
  69. filters:
  70. thumbnail: { size: [100, 100], mode: outbound }
  71.  
  72. # facebook service
  73. fos_facebook:
  74. file: "%kernel.root_dir%/../vendor/facebook/php-sdk/src/base_facebook.php"
  75. alias: facebook
  76. app_id: x
  77. secret: x
  78. cookie: true
  79. permissions: [email, user_birthday, user_location]
  80.  
  81. services:
  82. my.facebook.user:
  83. class: msgr\ProfileBundle\Security\User\Provider\FacebookProvider
  84. arguments:
  85. facebook: "@fos_facebook.api"
  86. entityManager: "@doctrine.orm.entity_manager"
  87. validator: "@validator"
  88. twig.extension.debug:
  89. class: Twig_Extension_Debug
  90. tags:
  91. - { name: 'twig.extension' }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement