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; } diff --git a/lib/Tool/MaintenanceModeHelper.php b/lib/Tool/MaintenanceModeHelper.php index 24786ef4904..b4c4466efce 100644 --- a/lib/Tool/MaintenanceModeHelper.php +++ b/lib/Tool/MaintenanceModeHelper.php @@ -24,7 +24,7 @@ class MaintenanceModeHelper implements MaintenanceModeHelperInterface { - protected const ENTRY_ID = 'maintenace_mode'; + protected const ENTRY_ID = 'maintenance_mode'; public function __construct(protected RequestStack $requestStack, protected Connection $db) {