Project

General

Profile

« Previous | Next » 

Revision 27

Added by stefan about 19 years ago

Reworked visibility and menu code (frontend login problem)

View differences:

forgot.php
37 37
define('MENU_TITLE', $MENU['FORGOT']);
38 38
define('VISIBILITY', 'public');
39 39

  
40
if(FRONTEND_LOGIN != 'enabled') {
41
	header('Location: '.WB_URL.'/pages/index'.PAGE_EXTENSION);
40
if(!FRONTEND_LOGIN) {
41
	if(INTRO_PAGE) {
42
		header('Location: '.WB_URL.PAGES_DIRECTORY.'/index'.PAGE_EXTENSION);
43
	} else {
44
		header('Location: '.WB_URL.'/index'.PAGE_EXTENSION);
45
	}
42 46
}
43 47

  
44 48
// Set the page content include file

Also available in: Unified diff