From 887e9a49561de7de4ca6907c71b136f2d269c42b Mon Sep 17 00:00:00 2001 From: "Laryn - CEDC.org" Date: Mon, 21 Sep 2020 12:56:11 -0500 Subject: [PATCH] Check if BACKDROP_ROOT is defined already --- CRM/Utils/System/Backdrop.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Utils/System/Backdrop.php b/CRM/Utils/System/Backdrop.php index 83b66078cd..7821682921 100644 --- a/CRM/Utils/System/Backdrop.php +++ b/CRM/Utils/System/Backdrop.php @@ -524,7 +524,9 @@ AND u.status = 1 } // load Backdrop bootstrap chdir($cmsPath); - define('BACKDROP_ROOT', $cmsPath); + if (!defined('BACKDROP_ROOT')) { + define('BACKDROP_ROOT', $cmsPath); + } // For Backdrop multi-site CRM-11313 if ($realPath && strpos($realPath, 'sites/all/modules/') === FALSE) { -- 2.25.1