projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f49952
)
Check if BACKDROP_ROOT is defined already
author
Laryn - CEDC.org
<laryn@cedc.org>
Mon, 21 Sep 2020 17:56:11 +0000
(12:56 -0500)
committer
GitHub
<noreply@github.com>
Mon, 21 Sep 2020 17:56:11 +0000
(12:56 -0500)
CRM/Utils/System/Backdrop.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/System/Backdrop.php
b/CRM/Utils/System/Backdrop.php
index 83b66078cd1c013fc4f5c14e40b2b0cbde544a56..7821682921dc53ddc07fa2e3a2e2951512e26764 100644
(file)
--- 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) {