diff --git a/glpi-start.sh b/glpi-start.sh index 522397d4..f2d689e0 100644 --- a/glpi-start.sh +++ b/glpi-start.sh @@ -11,7 +11,7 @@ echo "date.timezone = \"$TIMEZONE\"" > /etc/php/8.1/cli/conf.d/timezone.ini; fi #Enable session.cookie_httponly -sed -i 's,session.cookie_httponly =,session.cookie_httponly = on,g' /etc/php/8.1/apache2/php.ini +sed -i 's,session.cookie_httponly = *\(on\|off\|true\|false\|0\|1\)\?,session.cookie_httponly = on,gi' /etc/php/8.1/apache2/php.ini FOLDER_GLPI=glpi/ FOLDER_WEB=/var/www/html/