Move ensure_sanity call to just after where the file it is in is included,
to get the sanity checks done as soon as possible. Include the auth page, but only after we know what theme we are supposed to use, which allows drawing of correct login boxes.
Please register or sign in to comment