Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 36ab0c1

Browse files
Use getRootDir() rather than assuming __DIR__
1 parent b607508 commit 36ab0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/AppKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public function registerBundles()
3131

3232
public function registerContainerConfiguration(LoaderInterface $loader)
3333
{
34-
$loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');
34+
$loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml');
3535
}
3636
}

0 commit comments

Comments
 (0)