*
*/
-global $civicrm_root;
-
$civicrm_root = '%%crmRoot%%';
if (!defined('CIVICRM_TEMPLATE_COMPILEDIR')) {
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '%%templateCompileDir%%');
*
*/
//if (!defined('CIVICRM_TEMPLATE_COMPILE_CHECK')) {
-// define( 'CIVICRM_TEMPLATE_COMPILE_CHECK', FALSE);
+// define('CIVICRM_TEMPLATE_COMPILE_CHECK', FALSE);
+//}
+
+/**
+ * Smarty escape on output.
+ *
+ * This tells smarty to pass all variables through the escape function
+ * unless they are piped to smarty:nodefaults (eg. {$myScript|smarty:nodefaults}
+ * At this stage it should only be enabled on development sites.
+ * @see https://github.com/civicrm/civicrm-core/pull/21935
+ */
+//if (!defined('CIVICRM_SMARTY_DEFAULT_ESCAPE')) {
+// define('CIVICRM_SMARTY_DEFAULT_ESCAPE', TRUE);
//}
/**