Skip to content

Commit

Permalink
Merge pull request #23722 from jensschuppe/fix/multipleLogfilesMultil…
Browse files Browse the repository at this point in the history
…anguage

Avoid multiple log files in multi-language environments
  • Loading branch information
demeritcowboy authored Jun 25, 2022
2 parents 6197502 + 4bb7f51 commit 6da670d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ public static function generateLogFileHash($config) {
// Use multiple (but stable) inputs for hash information.
$md5inputs = [
defined('CIVICRM_SITE_KEY') ? CIVICRM_SITE_KEY : 'NO_SITE_KEY',
$config->userFrameworkBaseURL,
CRM_Utils_System::languageNegotiationURL($config->userFrameworkBaseURL, FALSE, TRUE),
md5($config->dsn),
$config->dsn,
];
Expand Down

0 comments on commit 6da670d

Please sign in to comment.