Revision 1625
Added by Luisehahne over 13 years ago
| index.php | ||
|---|---|---|
| 38 | 38 |
} |
| 39 | 39 |
|
| 40 | 40 |
$admin = new admin('Start', '', false, false);
|
| 41 |
$ThemeUrl = WB_URL.$admin->correct_theme_source('warning.html');
|
|
| 41 |
|
|
| 42 |
$WarnUrl = str_replace(WB_PATH,WB_URL,$admin->correct_theme_source('warning.html'));
|
|
| 42 | 43 |
// Setup template object, parse vars to it, then parse it |
| 43 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('login.htt'));
|
|
| 44 |
$ThemePath = dirname($admin->correct_theme_source('login.htt'));
|
|
| 44 | 45 |
|
| 45 | 46 |
$thisApp = new Login( array( |
| 46 | 47 |
'MAX_ATTEMPS' => "3", |
| 47 |
'WARNING_URL' => $ThemeUrl.'/warning.html',
|
|
| 48 |
'WARNING_URL' => $WarnUrl,
|
|
| 48 | 49 |
'USERNAME_FIELDNAME' => $username_fieldname, |
| 49 | 50 |
'PASSWORD_FIELDNAME' => $password_fieldname, |
| 50 | 51 |
'REMEMBER_ME_OPTION' => SMART_LOGIN, |
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files