File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
symfony/framework-bundle/5.4/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ protected function configureContainer(ContainerConfigurator $container): void
18
18
$ container ->import ($ projectDir .'/config/{packages}/*.yaml ' );
19
19
$ container ->import ($ projectDir .'/config/{packages}/ ' .$ this ->environment .'/*.yaml ' );
20
20
21
- if (is_file (\dirname ( __DIR__ ) .'/config/services.yaml ' )) {
21
+ if (is_file ($ projectDir .'/config/services.yaml ' )) {
22
22
$ container ->import ($ projectDir .'/config/services.yaml ' );
23
23
$ container ->import ($ projectDir .'/config/{services}_ ' .$ this ->environment .'.yaml ' );
24
24
} else {
@@ -33,7 +33,7 @@ protected function configureRoutes(RoutingConfigurator $routes): void
33
33
$ routes ->import ($ projectDir .'/config/{routes}/ ' .$ this ->environment .'/*.yaml ' );
34
34
$ routes ->import ($ projectDir .'/config/{routes}/*.yaml ' );
35
35
36
- if (is_file (\dirname ( __DIR__ ) .'/config/routes.yaml ' )) {
36
+ if (is_file ($ projectDir .'/config/routes.yaml ' )) {
37
37
$ routes ->import ($ projectDir .'/config/routes.yaml ' );
38
38
} else {
39
39
$ routes ->import ($ projectDir .'/config/{routes}.php ' );
You can’t perform that action at this time.
0 commit comments