From 012a5db992b4e4a9a716060549d84489fcea0995 Mon Sep 17 00:00:00 2001
From: Thibault Dockx <thibault.dockx@fusiondirectory.org>
Date: Mon, 24 Feb 2025 15:34:01 +0000
Subject: [PATCH] :sparkles: (variables.inc) - add smarty 4 as default in opt

Adds default variables.inc smarty 4 path in /opt/ (dev)
---
 include/variables.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/variables.inc b/include/variables.inc
index 0240aa59d..72d476f0a 100755
--- a/include/variables.inc
+++ b/include/variables.inc
@@ -40,10 +40,10 @@ if (!defined("CONFIG_FILE")) {
 }
 
 /*!
- * \brief Path for smarty3 libraries
+ * \brief Path for smarty3 and smarty4 libraries (dev)
  */
-define("SMARTY", "/usr/share/php/smarty3/Smarty.class.php");
-
+#define("SMARTY", "/usr/share/php/smarty3/Smarty.class.php");
+define("SMARTY", "/opt/smarty/Smarty.class.php");
 /*!
  * \brief Smarty compile dir
  */
-- 
GitLab