Merge pull request #102 from hirenshah/patch-1

Set session.cookie_httponly to "on" in glpi-start.sh
This commit is contained in:
DiouxX authored and GitHub committed 2024-01-28 16:49:16 +01:00
commit bfaaca8657
1 file changed
+3
+3
View File
@@ -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/