Skip to content

Commit

Permalink
Merge pull request #105 from levihb/master
Browse files Browse the repository at this point in the history
Fix setting of session.cookie.httponly if already set
  • Loading branch information
DiouxX authored Mar 1, 2024
2 parents bfaaca8 + af603af commit b97b32e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glpi-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit b97b32e

Please sign in to comment.