Update path in civicrm.settings.php.template for smarty3
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 29 Sep 2023 06:22:49 +0000 (19:22 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 29 Sep 2023 06:22:49 +0000 (19:22 +1300)
templates/CRM/common/civicrm.settings.php.template

index 17dc2a9c4d67784bff0d0c4a705d157f9fb0c041..d1baf5970b72ea0a5e0b898832c667224b92868a 100644 (file)
@@ -209,9 +209,9 @@ if (!defined('CIVICRM_TEMPLATE_COMPILEDIR')) {
  * and then defining the path to that
  * autoload. file.
  */
-//if (!defined('CIVICRM_SMARTY3_AUTOLOAD_PATH')) {
-//  define('CIVICRM_SMARTY3_AUTOLOAD_PATH', '/my/path/vendor/autoload.php');
-//}
+if (!defined('CIVICRM_SMARTY3_AUTOLOAD_PATH')) {
+// define('CIVICRM_SMARTY3_AUTOLOAD_PATH', $civicrm_root . '/packages/smarty3/vendor/autoload.php');
+}
 
 /**
  * Smarty escape on output.