From 48538a6f103ea739a54f01e8651aa34f33cba8fa Mon Sep 17 00:00:00 2001 From: Herb vd Dool Date: Sun, 16 Jul 2017 12:15:00 -0400 Subject: [PATCH] CRM-20764 Allow clean URLs in Backdrop --- templates/CRM/common/civicrm.settings.php.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/CRM/common/civicrm.settings.php.template b/templates/CRM/common/civicrm.settings.php.template index 10e2f28de4..faa1726747 100644 --- a/templates/CRM/common/civicrm.settings.php.template +++ b/templates/CRM/common/civicrm.settings.php.template @@ -443,6 +443,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); } -- 2.25.1