From c8ee93fe6a3b4ca453e2c24a453930bb2fbfd41d Mon Sep 17 00:00:00 2001 From: s0ftcorn Date: Sat, 4 Oct 2025 00:32:34 +0200 Subject: [PATCH] Update config.inc.php smarty Version Im using the docker image, but even in the repo there is this line: https://github.com/ltb-project/self-service-password/blob/ae18dc85a793f927b591bc255138a775ce9e8765/conf/config.inc.php#L511 Why does it refer to smarty3? I dont know for manual installs or via apt repo, but in the docker image only /usr/share/php/smarty4/ exists. Which makes sense since in https://github.com/ltb-project/self-service-password/blob/ae18dc85a793f927b591bc255138a775ce9e8765/packaging/docker/Dockerfile#L3 smarty4 gets installed. Changing the line to /usr/share/php/smarty4/Smarty.class.php also makes the container work instead of throwing a HTTP 500. --- conf/config.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/config.inc.php b/conf/config.inc.php index 96c3500e6..6d24e46a1 100644 --- a/conf/config.inc.php +++ b/conf/config.inc.php @@ -508,7 +508,7 @@ # Smarty if (!defined("SMARTY")) { - define("SMARTY", "/usr/share/php/smarty3/Smarty.class.php"); + define("SMARTY", "/usr/share/php/smarty4/Smarty.class.php"); } # Set preset login from HTTP header $header_name_preset_login