Skip to content

Commit 350240c

Browse files
committed
Use full config path to avoid loading issues with changes currentDir
1 parent 8a64ee7 commit 350240c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

resources/config/default.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
}
2525

2626
if ($container->hasParameter('kernel.project_dir')) {
27-
$loader->import('dist/parameters_sf5.yml');
27+
$loader->import(__DIR__.'/dist/parameters_sf5.yml');
2828
} else {
29-
$loader->import('dist/parameters.yml');
29+
$loader->import(__DIR__.'/dist/parameters.yml');
3030
}
3131
if (class_exists('Symfony\Bundle\MonologBundle\MonologBundle')) {
32-
$loader->import('dist/monolog.yml');
32+
$loader->import(__DIR__.'/dist/monolog.yml');
3333
}
34-
$loader->import('dist/doctrine.yml');
35-
$loader->import('dist/framework.php');
36-
$loader->import('dist/security.php');
34+
$loader->import(__DIR__.'/dist/doctrine.yml');
35+
$loader->import(__DIR__.'/dist/framework.php');
36+
$loader->import(__DIR__.'/dist/security.php');

0 commit comments

Comments
 (0)