Advertisement
Guest User

Untitled

a guest
Feb 26th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.19 KB | None | 0 0
  1. imports:
  2. - { resource: parameters.yml }
  3. - { resource: security.yml }
  4. - { resource: services.yml }
  5. - { resource: "@UserBundle/Resources/config/services.yml" }
  6. - { resource: "@HotesBundle/Resources/config/services.yml" }
  7. - { resource: "@AdminBundle/Resources/config/services.yml" }
  8. - { resource: "@RelationBundle/Resources/config/services.yml" }
  9. - { resource: "@GroupBundle/Resources/config/services.yml" }
  10. - { resource: "@MeetingBundle/Resources/config/services.yml" }
  11. - { resource: "@MusicBundle/Resources/config/services.yml" }
  12. - { resource: "@ShopBundle/Resources/config/services.yml" }
  13. - { resource: "@EventBundle/Resources/config/services.yml" }
  14. # Put parameters here that don't need to change on each machine where the app is deployed
  15. # https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
  16.  
  17.  
  18. parameters:
  19. locale: en
  20. images_directory: '%kernel.project_dir%/web/'
  21. images_shop: '%kernel.project_dir%/web/shopImg'
  22. music_directory: '%kernel.project_dir%/web/music'
  23. bonPlan: '%kernel.project_dir%/web/img'
  24.  
  25.  
  26. framework:
  27. templating:
  28. engines: ['twig']
  29. #esi: ~
  30. translator: ~
  31. secret: '%secret%'
  32. router:
  33. resource: '%kernel.project_dir%/app/config/routing.yml'
  34. strict_requirements: ~
  35. form: ~
  36. csrf_protection: ~
  37. validation: { enable_annotations: true }
  38. serializer: { enable_annotations: true }
  39. default_locale: '%locale%'
  40. trusted_hosts: ~
  41. session:
  42. # https://symfony.com/doc/current/reference/configuration/framework.html#handler-id
  43. handler_id: session.handler.native_file
  44. save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
  45. fragments: ~
  46. http_method_override: true
  47. assets: ~
  48. php_errors:
  49. log: true
  50.  
  51. # Twig Configuration
  52. twig:
  53. debug: '%kernel.debug%'
  54. strict_variables: '%kernel.debug%'
  55. form_themes:
  56. - '@FOSCKEditor/Form/ckeditor_widget.html.twig'
  57. globals:
  58. webp: '%kernel.project_dir%/web/'
  59. # Doctrine Configuration
  60. doctrine:
  61. dbal:
  62. driver: pdo_mysql
  63. host: '%database_host%'
  64. port: '%database_port%'
  65. dbname: '%database_name%'
  66. user: '%database_user%'
  67. password: '%database_password%'
  68. charset: UTF8
  69. # if using pdo_sqlite as your database driver:
  70. # 1. add the path in parameters.yml
  71. # e.g. database_path: '%kernel.project_dir%/var/data/data.sqlite'
  72. # 2. Uncomment database_path in parameters.yml.dist
  73. # 3. Uncomment next line:
  74. #path: '%database_path%'
  75.  
  76. orm:
  77. auto_generate_proxy_classes: '%kernel.debug%'
  78. naming_strategy: doctrine.orm.naming_strategy.underscore
  79. auto_mapping: true
  80. dql:
  81. string_functions:
  82. DAY: DoctrineExtensions\Query\Mysql\Day
  83. MONTH: DoctrineExtensions\Query\Mysql\Month
  84. YEAR: DoctrineExtensions\Query\Mysql\Year
  85. date: DoctrineExtensions\Query\Mysql\Date
  86. dateadd: DoctrineExtensions\Query\Mysql\DateAdd
  87. # Swiftmailer Configuration
  88. swiftmailer:
  89. transport: smtp
  90. encryption: tls
  91. host: smtp.gmail.com
  92. username: 'esprit.worldfriendship@gmail.com'
  93. password: 'sassouki'
  94.  
  95. sensio_framework_extra:
  96. router:
  97. annotations: false
  98.  
  99.  
  100. fos_user:
  101. db_driver: orm # other valid values are 'mongodb' and 'couchdb'
  102. firewall_name: main
  103. user_class: UserBundle\Entity\User
  104.  
  105. service: # this lines
  106. mailer: fos_user.mailer.twig_swift # this lines
  107. from_email:
  108. address: nacef.otay@esprit.tn
  109. sender_name: ADC Team
  110. registration:
  111. form:
  112. type: UserBundle\Form\RegistrationType
  113. # if you are using Symfony < 2.8 you should use the type name instead
  114. # type: app_user_registration
  115. vich_uploader:
  116. db_driver: orm
  117. mappings:
  118. Album:
  119. uri_prefix: /images
  120. upload_destination: '%kernel.root_dir%/../web/images'
  121. namer: vich_uploader.namer_uniqid
  122. delete_on_update: true
  123. delete_on_remove: true
  124. profil_images:
  125. uri_prefix: /images
  126. upload_destination: '%kernel.root_dir%/../web/images'
  127. namer: vich_uploader.namer_uniqid
  128. delete_on_update: true
  129. delete_on_remove: true
  130. Blog:
  131. uri_prefix: /images
  132. upload_destination: '%kernel.root_dir%/../web/images'
  133. knp_paginator:
  134. page_range: 5
  135. default_options:
  136. page_name: page
  137. sort_field_name: sort
  138. sort_direction_name: direction
  139. distinct: true
  140. template:
  141. pagination: 'KnpPaginatorBundle:Pagination:twitter_bootstrap_v4_pagination.html.twig'
  142. sortable: 'KnpPaginatorBundle:Pagination:twitter_bootstrap_v3_sortable_link.html.twig'
  143.  
  144.  
  145. fos_comment:
  146. db_driver: orm
  147. class:
  148. model:
  149. comment: BonPlansBundle\Entity\Comment
  150. thread: BonPlansBundle\Entity\Thread
  151.  
  152.  
  153. assetic:
  154. bundles: [ "FOSCommentBundle" ]
  155.  
  156.  
  157. jms_payment_paypal:
  158. return_url: http://localhost/pi-dev-web/web/app_dev.php/Shop
  159. cancel_url: http://localhost/pi-dev-web/web/app_dev.php/Shop
  160. useraction: commit
  161. debug: true
  162. username: alaeddin.tabai-facilitator_api1.esprit.tn
  163. password: 374DGDYJCPJLPXAL
  164. signature: ABRNi6p1GLEzHzbrbbgoj24qrkYLAWVnebG6awWaf7N.xzEVI7wIAScy
  165.  
  166. fos_message:
  167. db_driver: orm
  168. thread_class: GroupBundle\Entity\Thread
  169. message_class: GroupBundle\Entity\Message
  170. new_thread_form:
  171. type: FOS\MessageBundle\FormType\NewThreadMultipleMessageFormType
  172. handler: fos_message.new_thread_multiple_form.handler
  173. model: FOS\MessageBundle\FormModel\NewThreadMultipleMessage
  174. name: message
  175. knp_snappy:
  176. temporary_folder: "%kernel.cache_dir%/snappy"
  177. process_timeout: 20 # In seconds
  178. pdf:
  179. enabled: true
  180. binary: "\"C:\\Program Files (x86)\\wkhtmltopdf\\bin\\wkhtmltopdf.exe\""
  181. image:
  182. enabled: true
  183. binary: "\"C:\\Program Files (x86)\\wkhtmltopdf\\bin\\wkhtmltoimage.exe\""
  184. options: []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement