From 31c7c584ca72bdbb1fcf24932f4c37ec17da81c1 Mon Sep 17 00:00:00 2001 From: antoine2tt <979136+antoine2tt@users.noreply.github.com> Date: Wed, 6 Jul 2022 23:10:08 +0200 Subject: [PATCH] Update glpi-start.sh --- glpi-start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glpi-start.sh b/glpi-start.sh index 92063aa..97e8282 100644 --- a/glpi-start.sh +++ b/glpi-start.sh @@ -6,8 +6,8 @@ if [[ -z "${TIMEZONE}" ]]; then echo "TIMEZONE is unset"; else -echo "date.timezone = \"$TIMEZONE\"" > /etc/php/7.4/apache2/conf.d/timezone.ini; -echo "date.timezone = \"$TIMEZONE\"" > /etc/php/7.4/cli/conf.d/timezone.ini; +echo "date.timezone = \"$TIMEZONE\"" > /etc/php/8.1/apache2/conf.d/timezone.ini; +echo "date.timezone = \"$TIMEZONE\"" > /etc/php/8.1/cli/conf.d/timezone.ini; fi SRC_GLPI=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/tags/${VERSION_GLPI} | jq .assets[0].browser_download_url | tr -d \")