Where is config.yml for FOSUserBundle configuration located in Flex?

强颜欢笑 提交于 2019-12-11 06:29:07

问题


I am trying to include FOSUserBundle in my Symfony application. The doc mentions an app/config/config.yml file, but there is none in my application. I think it's because I have a Flex structure.

Anyone knows where I should put the fos_user configuration in my app?


回答1:


The config file should be config/packages/fos_user.yaml with the symfony flex structure.

The friendsofsymfony/user-bundle recipe's pull request is still not merged as of 2018-01-25.



来源:https://stackoverflow.com/questions/48445106/where-is-config-yml-for-fosuserbundle-configuration-located-in-flex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!