diff --git a/bundles/CustomReportsBundle/src/DependencyInjection/Configuration.php b/bundles/CustomReportsBundle/src/DependencyInjection/Configuration.php index 13995d22ff9..50fb4038305 100644 --- a/bundles/CustomReportsBundle/src/DependencyInjection/Configuration.php +++ b/bundles/CustomReportsBundle/src/DependencyInjection/Configuration.php @@ -74,7 +74,7 @@ public function getConfigTreeBuilder(): TreeBuilder ->end() ->end(); - ConfigurationHelper::addConfigLocationWithWriteTargetNodes($rootNode, ['custom_reports' => '/var/config/custom_reports']); + ConfigurationHelper::addConfigLocationWithWriteTargetNodes($rootNode, ['custom_reports' => PIMCORE_CONFIGURATION_DIRECTORY . '/custom_reports']); return $treeBuilder; } diff --git a/bundles/StaticRoutesBundle/src/DependencyInjection/Configuration.php b/bundles/StaticRoutesBundle/src/DependencyInjection/Configuration.php index 991164e847b..358d39d505b 100644 --- a/bundles/StaticRoutesBundle/src/DependencyInjection/Configuration.php +++ b/bundles/StaticRoutesBundle/src/DependencyInjection/Configuration.php @@ -56,7 +56,7 @@ public function getConfigTreeBuilder(): TreeBuilder ->end() ->end(); - ConfigurationHelper::addConfigLocationWithWriteTargetNodes($rootNode, ['staticroutes' => '/var/config/staticroutes']); + ConfigurationHelper::addConfigLocationWithWriteTargetNodes($rootNode, ['staticroutes' => PIMCORE_CONFIGURATION_DIRECTORY . '/staticroutes']); return $treeBuilder; }