1 # Parameters configuration
4 # RapsysTree configuration
7 address: 'veranda@rapsys.eu'
13 locales: [ 'fr_fr', 'en_gb' ]
15 alt: 'Rapsys photo''s logo'
20 Photo: '/var/www/photo'
21 Tango: '/var/www/tango'
22 Video: '/var/www/video'
24 # Security configuration
28 # Disables authentication for assets and the profiler, adapt it according to your needs
30 pattern: '^/(_(profiler|wdt)|css|images|js)/'
35 # Allow anonymous access
39 # Activate database provider
40 #XXX: comment this key in config/security.yaml to prevent users_in_memory induced failures
43 # Activate user checker
44 user_checker: 'security.user_checker'
46 #XXX: https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate
50 #XXX: https://symfony.com/doc/current/security/form_login_setup.html
51 #TODO: https://symfony.com/doc/current/security/guard_authentication.html
53 # Redirect to referer if different from login route
56 login_path: 'rapsysuser_login'
58 check_path: 'rapsysuser_login'
60 username_parameter: 'login[mail]'
62 password_parameter: 'login[password]'
63 # Enable login csrf protection
66 csrf_parameter: 'login[_token]'
68 csrf_token_id: 'login'
73 path: 'rapsysuser_logout'
74 # Logout default target
77 # Set custom access denied handler
78 #access_denied_handler: Rapsys\BlogBundle\Handler\AccessDeniedHandler
81 #XXX: see https://symfony.com/doc/current/security/remember_me.html
84 secret: '%kernel.secret%'
86 always_remember_me: true
92 class: 'Rapsys\TreeBundle\Entity\User'
97 ROLE_USER: [ 'ROLE_GUEST' ]
98 ROLE_ADMIN: [ 'ROLE_GUEST', 'ROLE_USER' ]
100 # Services configuration
102 # Register tree controller
103 Rapsys\TreeBundle\Controller\TreeController:
104 arguments: [ '@service_container', '@router', '@request_stack', '@translator', '@twig' ]
105 tags: [ 'controller.service_arguments' ]
111 debug: '%kernel.debug%'
112 #strict_variables: '%kernel.debug%'
115 # XXX: enable forced regeneration of css and js at each page load
118 # Fix form layout for css
119 # XXX: @RapsysTree is a shortcut to vendor/rapsys/treebundle/Resources/views directory here
120 #form_theme: [ '@RapsysTree/form/form_div_layout.html.twig' ]
124 # Required by email.image(site_logo) directive
125 # XXX: Allow twig to resolve @RapsysTree/png/logo.png in vendor/rapsys/treebundle/Resources/public/png/logo.png
126 '%kernel.project_dir%/vendor/rapsys/treebundle/Resources/public': 'RapsysTree'
127 # Override default exception controller
128 #exception_controller: Rapsys\TreeBundle\Controller\ErrorController::preview