#940: Fix referrer confirmation for forums installed in subdirectories.