Project

General

Profile

« Previous | Next » 

Revision 540

Added by Matthias almost 17 years ago

Replaced the variable PAGE_EXTENSION with hardcoded .php on all places where the pathes points to WB Corefiles with the page extension .php

View differences:

login.php
28 28
// Make sure the login is enabled
29 29
if(!FRONTEND_LOGIN) {
30 30
	if(INTRO_PAGE) {
31
		header('Location: '.WB_URL.PAGES_DIRECTORY.'/index'.PAGE_EXTENSION);
31
		header('Location: '.WB_URL.PAGES_DIRECTORY.'/index.php');
32 32
		exit(0);
33 33
	} else {
34
		header('Location: '.WB_URL.'/index'.PAGE_EXTENSION);
34
		header('Location: '.WB_URL.'/index.php');
35 35
		exit(0);
36 36
	}
37 37
}
......
64 64
									"MIN_PASSWORD_LEN" => "2",
65 65
									"MAX_USERNAME_LEN" => "30",
66 66
									"MAX_PASSWORD_LEN" => "30",
67
									"LOGIN_URL" => WB_URL."/account/login".PAGE_EXTENSION.'?redirect='.$_REQUEST['redirect'],
68
									"DEFAULT_URL" => WB_URL.PAGES_DIRECTORY."/index".PAGE_EXTENSION,
67
									"LOGIN_URL" => WB_URL."/account/login.php?redirect=".$_REQUEST['redirect'],
68
									"DEFAULT_URL" => WB_URL.PAGES_DIRECTORY."/index.php",
69 69
									"TEMPLATE_DIR" => ADMIN_PATH."/login",
70 70
									"TEMPLATE_FILE" => "template.html",
71 71
									"FRONTEND" => true,
72
									"FORGOTTEN_DETAILS_APP" => WB_URL."/account/forgot.php".PAGE_EXTENSION,
72
									"FORGOTTEN_DETAILS_APP" => WB_URL."/account/forgot.php",
73 73
									"USERS_TABLE" => TABLE_PREFIX."users",
74 74
									"GROUPS_TABLE" => TABLE_PREFIX."groups",
75 75
									"REDIRECT_URL" => $_REQUEST['redirect']

Also available in: Unified diff