From b4f71bd0a838e254999938e6602dd4331f2e40b5 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Wed, 14 Sep 2022 21:07:08 +0200 Subject: [PATCH] Fixed base dir detection for the gui Signed-off-by: Janos SUTO --- config.php.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.php.in b/config.php.in index 7672661e..34693b05 100644 --- a/config.php.in +++ b/config.php.in @@ -210,7 +210,7 @@ $config['PILER_HEADER_FIELD'] = 'X-piler-id: '; $config['DEFAULT_POLICY'] = 'default_policy'; -$config['DIR_BASE'] = '/var/piler/www/'; +$config['DIR_BASE'] = dirname(__FILE__) . '/'; $config['DIR_SPHINX'] = '/var/piler/sphinx/'; $config['DIR_STAT'] = '/var/piler/stat';