Revision 286
Added by stefan almost 20 years ago
| forgot.php | ||
|---|---|---|
| 40 | 40 | if(!FRONTEND_LOGIN) {
 | 
| 41 | 41 | 	if(INTRO_PAGE) {
 | 
| 42 | 42 | 		header('Location: '.WB_URL.PAGES_DIRECTORY.'/index'.PAGE_EXTENSION);
 | 
| 43 | exit(0); | |
| 43 | 44 | 	} else {
 | 
| 44 | 45 | 		header('Location: '.WB_URL.'/index'.PAGE_EXTENSION);
 | 
| 46 | exit(0); | |
| 45 | 47 | } | 
| 46 | 48 | } | 
| 47 | 49 |  | 
Also available in: Unified diff
Added an exit call after every heading("Location:...") redirector to prevent unwanted execution of code.