Project

General

Profile

« Previous | Next » 

Revision 1783

Added by Dietmar almost 12 years ago

  1. fixed maintenance frontend

View differences:

class.frontend.php
83 83
        }
84 84

  
85 85
		$maintance = ( defined('SYSTEM_LOCKED') && (SYSTEM_LOCKED==true) ? true : false );
86

  
87
		if( ($maintance==true) || $this->get_session('USER_ID')!= 1 )
88
		{
89
       	//  check for show maintenance screen and terminate if needed
90
    		$this->ShowMaintainScreen('locked');
91
        }
86 92
		// We have no page id and are supposed to show the intro page
87 93
		if((INTRO_PAGE && ($maintance != true) && !isset($no_intro)) && (!isset($page_id) || !is_numeric($page_id)))
88 94
		{

Also available in: Unified diff