From e9a7820d27c5f96639896ff26d61a7e47d91229f Mon Sep 17 00:00:00 2001 From: "florian.azizian" <florian.azizian@maarch.org> Date: Fri, 19 Apr 2019 14:05:51 +0100 Subject: [PATCH] FIX path to custom log4php.xml --- core/class/class_history.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/class/class_history.php b/core/class/class_history.php index 4612a623c7f..34044051110 100755 --- a/core/class/class_history.php +++ b/core/class/class_history.php @@ -418,14 +418,16 @@ class history } if (file_exists( - $_SESSION['config']['corepath']. DIRECTORY_SEPARATOR . 'custom' + 'custom' . DIRECTORY_SEPARATOR . $_SESSION['custom_override_id'] . DIRECTORY_SEPARATOR . "apps" . DIRECTORY_SEPARATOR . $_SESSION['config']['app_id'] . DIRECTORY_SEPARATOR . "xml" . DIRECTORY_SEPARATOR . "log4php.xml" )) { - $configFileLog4PHP = "apps" + $configFileLog4PHP = 'custom' + . DIRECTORY_SEPARATOR . $_SESSION['custom_override_id'] + . DIRECTORY_SEPARATOR . "apps" . DIRECTORY_SEPARATOR . $_SESSION['config']['app_id'] . DIRECTORY_SEPARATOR . "xml" . DIRECTORY_SEPARATOR . "log4php.xml"; -- GitLab