From ffa57982f5367d70a9654ea5e21c0991b5668fcd Mon Sep 17 00:00:00 2001 From: Aaron Gerig Date: Tue, 22 Feb 2022 12:00:34 +0100 Subject: [PATCH] fix: use the %kernel.project_dir% param for the disk_usage check --- .../DependencyInjection/Configuration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PimcoreMonitorBundle/DependencyInjection/Configuration.php b/src/PimcoreMonitorBundle/DependencyInjection/Configuration.php index c22db7b..1fbfdb3 100644 --- a/src/PimcoreMonitorBundle/DependencyInjection/Configuration.php +++ b/src/PimcoreMonitorBundle/DependencyInjection/Configuration.php @@ -107,8 +107,8 @@ private function buildChecksNode(): NodeDefinition ->min(0)->max(100) ->end() ->scalarNode('path') - ->info('The root directory of the server.') - ->defaultValue('/') + ->info('The root directory of the hosting.') + ->defaultValue('%kernel.project_dir%') ->isRequired() ->end() ->end()