Merge pull request #105 from levihb/master

Fix setting of session.cookie.httponly if already set
pull/112/head
DiouxX 2 years ago committed by GitHub
commit b97b32ebe1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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/

Loading…
Cancel
Save