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:

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

  

Also available in: Unified diff