projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
78afe0e
)
Merge pull request #10674 from herbdool/crm20764
author
Mathieu Lu
<mathieu@bidon.ca>
Wed, 15 Nov 2017 21:27:59 +0000
(16:27 -0500)
committer
GitHub
<noreply@github.com>
Wed, 15 Nov 2017 21:27:59 +0000
(16:27 -0500)
CRM-20764 Allow clean URLs with CiviCRM on Backdrop
templates/CRM/common/civicrm.settings.php.template
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/common/civicrm.settings.php.template
b/templates/CRM/common/civicrm.settings.php.template
index 507b96b13308d78e467662d8c781816ae5e035d1..e7b88fb624bcfb706ce01d7f92b8cbd890b0f972 100644
(file)
--- a/
templates/CRM/common/civicrm.settings.php.template
+++ b/
templates/CRM/common/civicrm.settings.php.template
@@
-454,6
+454,9
@@
if (!defined('CIVICRM_CLEANURL')) {
if ( function_exists('variable_get') && variable_get('clean_url', '0') != '0') {
define('CIVICRM_CLEANURL', 1 );
}
+ elseif ( function_exists('config_get') && config_get('system.core', 'clean_url') != 0) {
+ define('CIVICRM_CLEANURL', 1 );
+ }
else {
define('CIVICRM_CLEANURL', 0);
}