Changeset 1709 in ExiteCMS


Ignore:
Timestamp:
08/27/08 23:15:21 (3 years ago)
Author:
hverton
Message:

fixed missing basedir, causing a 404 when not on a docroot page when maintenance mode was enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/core_functions.php

    r1695 r1709  
    225225        if (!iSUPERADMIN) { 
    226226            // deny all non-webmasters access to the site 
    227             redirect('maintenance.php?reason='.$settings['maintenance']); 
     227            redirect(BASEDIR.'maintenance.php?reason='.$settings['maintenance']); 
    228228        } else { 
    229229            // force webmasters to the upgrade module 
Note: See TracChangeset for help on using the changeset viewer.