From d1d09adf30d86fabd0504bf703a83dc7e5194898 Mon Sep 17 00:00:00 2001 From: DiouxX Date: Sun, 12 Dec 2021 21:10:52 +0100 Subject: [PATCH] Change the timezone files location to PHP7.4 --- glpi-start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glpi-start.sh b/glpi-start.sh index 8e1319b..5c6afb6 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.3/apache2/conf.d/timezone.ini; -echo "date.timezone = \"$TIMEZONE\"" > /etc/php/7.3/cli/conf.d/timezone.ini; +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; 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 \")