From 6e47214914b54cbf9b40e6a947ecfd7d82549932 Mon Sep 17 00:00:00 2001 From: Laurent Mathieu Date: Thu, 22 May 2025 13:26:31 -0400 Subject: [PATCH] Correction du if pour la configuration des sessions sur Redis --- configure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.sh b/configure.sh index 9af244f..950f3d1 100755 --- a/configure.sh +++ b/configure.sh @@ -23,6 +23,7 @@ fi # Setup redis sessions if [-n $"TM_REDIS_HOST" ] +then echo session.save_handler = redis | tee -a /etc/php/8.2/apache2/php.ini | tee -a /etc/php/8.2/cli/php.ini echo session.save_path = "tcp://\${TM_REDIS_HOST}:6379" | tee -a /etc/php/8.2/apache2/php.ini | tee -a /etc/php/8.2/cli/php.ini -then +fi