Revision 540
Added by Matthias almost 18 years ago
| logout.php | ||
|---|---|---|
| 40 | 40 |
session_destroy(); |
| 41 | 41 |
|
| 42 | 42 |
if(INTRO_PAGE) {
|
| 43 |
header('Location: '.WB_URL.PAGES_DIRECTORY.'/index'.PAGE_EXTENSION);
|
|
| 43 |
header('Location: '.WB_URL.PAGES_DIRECTORY.'/index.php');
|
|
| 44 | 44 |
} else {
|
| 45 |
header('Location: '.WB_URL.'/index'.PAGE_EXTENSION);
|
|
| 45 |
header('Location: '.WB_URL.'/index.php');
|
|
| 46 | 46 |
} |
| 47 | 47 |
|
| 48 | 48 |
?> |
Also available in: Unified diff
Replaced the variable PAGE_EXTENSION with hardcoded .php on all places where the pathes points to WB Corefiles with the page extension .php