CRM-20764 Allow clean URLs in Backdrop
authorHerb vd Dool <herb@freeform.ca>
Sun, 16 Jul 2017 16:15:00 +0000 (12:15 -0400)
committerHerb vd Dool <herb@freeform.ca>
Mon, 17 Jul 2017 11:31:58 +0000 (07:31 -0400)
templates/CRM/common/civicrm.settings.php.template

index 10e2f28de486c0a4295a1ddd5e4a7c93bc3aa202..faa1726747287e1a094b2a3811de2ed58d79095b 100644 (file)
@@ -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);
   }