File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class::
23
23
24
24
public function registerContainerConfiguration(LoaderInterface $loader)
25
25
{
26
- $loader->load(__DIR__ .'/config/config_'.$this->getEnvironment().'.yml');
26
+ $loader->load($this->getRootDir() .'/config/config_'.$this->getEnvironment().'.yml');
27
27
}
28
28
}
29
29
@@ -101,7 +101,7 @@ method::
101
101
102
102
public function registerContainerConfiguration(LoaderInterface $loader)
103
103
{
104
- $loader->load(__DIR__ .'/config/'.$this->getEnvironment().'/config.yml');
104
+ $loader->load($this->getRootDir() .'/config/'.$this->getEnvironment().'/config.yml');
105
105
}
106
106
}
107
107
@@ -199,7 +199,7 @@ make Symfony aware of the new file organization::
199
199
200
200
public function registerContainerConfiguration(LoaderInterface $loader)
201
201
{
202
- $loader->load(__DIR__ .'/config/environments/'.$this->getEnvironment().'.yml');
202
+ $loader->load($this->getRootDir() .'/config/environments/'.$this->getEnvironment().'.yml');
203
203
}
204
204
}
205
205
You can’t perform that action at this time.
0 commit comments