Set session.cookie_httponly to "on" in glpi-start.sh

pull/102/head
Hiren Shah 2 years ago committed by GitHub
parent 0bb48db140
commit f5062eeb6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -10,6 +10,9 @@ 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
#Enable session.cookie_httponly
sed -i 's,session.cookie_httponly =,session.cookie_httponly = on,g' /etc/php/8.1/apache2/php.ini
FOLDER_GLPI=glpi/
FOLDER_WEB=/var/www/html/

Loading…
Cancel
Save