Merge pull request #105 from levihb/master

Fix setting of session.cookie.httponly if already set
This commit is contained in:
DiouxX authored and GitHub committed 2024-03-01 15:39:07 +01:00
commit b97b32ebe1
1 file changed
+1 -1
+1 -1
View File
@@ -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/