Je suis en train de suivre ce tutorial : http://fabien.potencier.org/article/...ponents-part-3
Quand je place mon Front Controller a la racine de mon application : /framework/front.php
Et que j'appelle l'url http://localhost/framework/hello
ça fonctionne bien, $request->getPathInfo() me retourne '/hello'
Par contre si je place le Front Controller dans un sous répertoire pour plus de sécurité : /framework/web/front.php
ça ne fonctionne plus, $request->getPathInfo() me retourne '/framework/hello'
Partager