Project

General

Profile

« Previous | Next » 

Revision 286

Added by stefan almost 19 years ago

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

View differences:

signup.php
28 28
if(!is_numeric(FRONTEND_SIGNUP)) {
29 29
	if(INTRO_PAGE) {
30 30
		header('Location: '.WB_URL.PAGES_DIRECTORY.'/index'.PAGE_EXTENSION);
31
		exit(0);
31 32
	} else {
32 33
		header('Location: '.WB_URL.'/index'.PAGE_EXTENSION);
34
		exit(0);
33 35
	}
34 36
}
35 37

  

Also available in: Unified diff