This pull request resolves a minor bug discovered while testing #140 in which HTTP_HOST was not defined when it was being called for the cookie settings.
Since this is the problem that PANTHEON_HOSTNAME solves, the PR moves the cookie settings down in the application.pantheon.php code so that we can use the PANTHEON_HOSTNAME value. This ensures that the cookie domain, admin cookie path, cookie path, and site cookie path are correctly defined for the Pantheon environment.
This pull request resolves a minor bug discovered while testing #140 in which HTTP_HOST was not defined when it was being called for the cookie settings.
Since this is the problem that
PANTHEON_HOSTNAME
solves, the PR moves the cookie settings down in theapplication.pantheon.php
code so that we can use thePANTHEON_HOSTNAME
value. This ensures that the cookie domain, admin cookie path, cookie path, and site cookie path are correctly defined for the Pantheon environment.