Revision 1457
Added by Dietmar over 13 years ago
index.php | ||
---|---|---|
38 | 38 |
$password_fieldname = 'password'; |
39 | 39 |
} |
40 | 40 |
|
41 |
$thisApp = new Login( |
|
42 |
array( |
|
43 |
'MAX_ATTEMPS' => "3", |
|
44 |
'WARNING_URL' => THEME_URL."/templates/warning.html", |
|
45 |
'USERNAME_FIELDNAME' => $username_fieldname, |
|
46 |
'PASSWORD_FIELDNAME' => $password_fieldname, |
|
47 |
'REMEMBER_ME_OPTION' => SMART_LOGIN, |
|
48 |
'MIN_USERNAME_LEN' => "2", |
|
49 |
'MIN_PASSWORD_LEN' => "2", |
|
50 |
'MAX_USERNAME_LEN' => "30", |
|
51 |
'MAX_PASSWORD_LEN' => "30", |
|
52 |
'LOGIN_URL' => ADMIN_URL."/login/index.php", |
|
53 |
'DEFAULT_URL' => ADMIN_URL."/start/index.php", |
|
54 |
'TEMPLATE_DIR' => THEME_PATH."/templates", |
|
55 |
'TEMPLATE_FILE' => "login.htt", |
|
56 |
'FRONTEND' => false, |
|
57 |
'FORGOTTEN_DETAILS_APP' => ADMIN_URL."/login/forgot/index.php", |
|
58 |
'USERS_TABLE' => TABLE_PREFIX."users", |
|
59 |
'GROUPS_TABLE' => TABLE_PREFIX."groups", |
|
60 |
) |
|
61 |
); |
|
62 |
|
|
63 |
?> |
|
41 |
$thisApp = new Login( array( |
|
42 |
'MAX_ATTEMPS' => "3", |
|
43 |
'WARNING_URL' => THEME_URL."/templates/warning.html", |
|
44 |
'USERNAME_FIELDNAME' => $username_fieldname, |
|
45 |
'PASSWORD_FIELDNAME' => $password_fieldname, |
|
46 |
'REMEMBER_ME_OPTION' => SMART_LOGIN, |
|
47 |
'MIN_USERNAME_LEN' => "2", |
|
48 |
'MIN_PASSWORD_LEN' => "2", |
|
49 |
'MAX_USERNAME_LEN' => "30", |
|
50 |
'MAX_PASSWORD_LEN' => "30", |
|
51 |
'LOGIN_URL' => ADMIN_URL."/login/index.php", |
|
52 |
'DEFAULT_URL' => ADMIN_URL."/start/index.php", |
|
53 |
'TEMPLATE_DIR' => THEME_PATH."/templates", |
|
54 |
'TEMPLATE_FILE' => "login.htt", |
|
55 |
'FRONTEND' => false, |
|
56 |
'FORGOTTEN_DETAILS_APP' => ADMIN_URL."/login/forgot/index.php", |
|
57 |
'USERS_TABLE' => TABLE_PREFIX."users", |
|
58 |
'GROUPS_TABLE' => TABLE_PREFIX."groups", |
|
59 |
) |
|
60 |
); |
Also available in: Unified diff
Preparing 2.8.2 stable, last tests