最新回答 / 上善o若水
安装方式已变c:\> php -r "file_put_contents('symfony', file_get_contents('https://symfony.com/installer'));" http://symfony.com/download 去官方看一下 就好。
2015-08-27
最新回答 / 慕移动7276519
比如你的php中这样写。return $this->render('AcmeHelloBundle:default:home.html.twig', array('list'=>$list));而且你public.html.twig存在的话那么你extends 里面需要写 {% extends 'AcmeHelloBundle:default:public.html.twig' %}
2015-08-19
讲师回答 / 洪涛
你这个事情在我看来和route/security.yml根本没关系,因为用户在登录前系统是不知道用户到底是什么权限的,而登录判断的过程又是你自己的逻辑,所以和route/security.yml其实没关系。这个事情你可以这么做,在各自的登录逻辑里判断用户的类别,然后让用户顺利登录或者提醒用户类型不对,不能登录。
2015-08-12