Changeset 2075 in ExiteCMS


Ignore:
Timestamp:
11/28/08 23:05:45 (3 years ago)
Author:
WanWizard
Message:

prevent redirect loop when ssl login is required and site is in maintenance mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/user_functions.php

    r2054 r2075  
    136136} else { 
    137137    // is login required? 
    138     if ($settings['auth_required'] && !in_array(FUSION_SELF, array("login.php","setuser.php","lostpassword.php", "register.php"))) { 
     138    if ($settings['auth_required'] && !in_array(FUSION_SELF, array("login.php","setuser.php","lostpassword.php", "register.php","maintenance.php"))) { 
    139139        redirect(BASEDIR."login.php", "script"); 
    140140        exit; 
Note: See TracChangeset for help on using the changeset viewer.