Skip to content

Commit

Permalink
Merge pull request #102 from hirenshah/patch-1
Browse files Browse the repository at this point in the history
Set session.cookie_httponly to "on" in glpi-start.sh
  • Loading branch information
DiouxX authored Jan 28, 2024
2 parents 7605910 + f5062ee commit bfaaca8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions glpi-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit bfaaca8

Please sign in to comment.