You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything is OK in the browser and when I run console from bin directory. But when running console from the root directory (bin/console) there is a problem with a loader. The reason is a different working directory and DirectoryRouteLoader returns false for:
returnis_dir($resource);
For non-flex Symfony is working, because there is a different notation for a resource (bundle-notation).
The text was updated successfully, but these errors were encountered:
tomaszhanc
changed the title
Problem with working directories in Symfony Flex
Problem with working directory in Symfony Flex
Oct 20, 2017
I'm trying to play with a Symfony Flex and have a problem with RouteLoader. My configuration for a routing:
Everything is OK in the browser and when I run console from bin directory. But when running console from the root directory (bin/console) there is a problem with a loader. The reason is a different working directory and DirectoryRouteLoader returns false for:
For non-flex Symfony is working, because there is a different notation for a resource (bundle-notation).
The text was updated successfully, but these errors were encountered: