From 9d934b81f944da3d6f7f2c242f100e9b3cc73b57 Mon Sep 17 00:00:00 2001 From: Ortwin Pinke Date: Thu, 27 Jul 2023 16:09:35 +0200 Subject: [PATCH] fix path for http check config --- conlite/includes/startup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conlite/includes/startup.php b/conlite/includes/startup.php index de028cc..034fc86 100644 --- a/conlite/includes/startup.php +++ b/conlite/includes/startup.php @@ -148,7 +148,7 @@ include_once(dirname(__DIR__, 2) . DIRECTORY_SEPARATOR . 'vendor/autoload.php'); // 2. security check: Check HTTP parameters, if requested if ($cfg['http_params_check']['enabled'] === true) { $oHttpInputValidator = - new HttpInputValidator($cfg['path']['conlite'] . $cfg['path']['includes'] . '/config.http_check.php'); + new HttpInputValidator($cfg['path']['config'] . CL_ENVIRONMENT . DIRECTORY_SEPARATOR . 'config.http_check.php'); } /* Generate arrays for available login languages