Revision 1783
Added by Dietmar about 12 years ago
- fixed maintenance frontend
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