Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mauvais chemin %kernel.project_dir% lorsque composer.json n'est pas présent. #393

Open
pengu-fr opened this issue Jul 13, 2020 · 0 comments · May be fixed by #394
Open

Mauvais chemin %kernel.project_dir% lorsque composer.json n'est pas présent. #393

pengu-fr opened this issue Jul 13, 2020 · 0 comments · May be fixed by #394

Comments

@pengu-fr
Copy link

Lorsque le fichier composer.json n'est pas présent (par exemple lorsqu'on déploit en production), alors le chemin %kernel.project_dir% pointe sur le répertoire "app" et non sur la racine du projet.

Ça génère l'erreur suivante (entre autre):
PHP Fatal error: Uncaught Symfony\Component\Config\Exception\FileLocatorFileNotFoundException: The file "/elefan/app/app/config/routing.yml" does not exist.

@pengu-fr pengu-fr linked a pull request Jul 13, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant