Project

General

Profile

« Previous | Next » 

Revision 286

Added by stefan over 18 years ago

Added an exit call after every heading("Location:...") redirector to prevent unwanted execution of code.

View differences:

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