Revision 1603
Added by Dietmar almost 13 years ago
login.php | ||
---|---|---|
54 | 54 |
// Create new login app |
55 | 55 |
$requestMethod = '_'.strtoupper($_SERVER['REQUEST_METHOD']); |
56 | 56 |
$redirect = strip_tags(isset(${$requestMethod}['redirect']) ? ${$requestMethod}['redirect'] : ''); |
57 |
$redirect = ((isset($_SERVER['HTTP_REFERER']) && empty($redirect)) ? $_SERVER['HTTP_REFERER'] : $redirect);
|
|
58 |
$_SESSION['HTTP_REFERER'] = str_replace(WB_URL,'',$redirect); |
|
57 |
$redirect = ((isset($_SESSION['HTTP_REFERER']) && ($redirect='')) ? $_SESSION['HTTP_REFERER'] : $redirect);
|
|
58 |
// $_SESSION['HTTP_REFERER'] = str_replace(WB_URL,'',$redirect);
|
|
59 | 59 |
|
60 |
$loginUrl = WB_URL.'/account/login.php'; |
|
61 |
$loginUrl .= (!empty($redirect) ? '?redirect=' .$_SESSION['HTTP_REFERER'] : '');
|
|
60 |
// $loginUrl = WB_URL.'/account/login.php';
|
|
61 |
$loginUrl .= (($redirect!='') ? '?redirect=' .$_SESSION['HTTP_REFERER'] : '');
|
|
62 | 62 |
|
63 | 63 |
$ThemeUrl = WB_URL.$wb->correct_theme_source('warning.html'); |
64 | 64 |
// Setup template object, parse vars to it, then parse it |
Also available in: Unified diff
fix local module reload and module manuell install
forgot to upload login.php