|
|
1
3
使用dev环境而不是prod环境。您可以访问dev环境,方法是转到index_dev.php文件而不是index.php文件: http://localhost/index_dev.php
|
|
|
2
0
在symfony中更改YAML文件后清除缓存,无论您是在dev还是prod环境中操作。dev环境为每个
请求,但不适用于CLI请求。因此,总是手动运行是一个好习惯
|
|
|
3
0
更改任何配置文件后清除缓存:$symfony cc |
|
|
Bham · Symfony通过yaml路由名称 8 年前 |
|
|
Abhinav Jha · 如何在jquery帖子的回调中重定向 8 年前 |
|
|
Burst of Ice · 成功身份验证后角度路由不工作 8 年前 |
|
|
RyanIndustries8 · 阵列角度布线5 8 年前 |