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:

install.php
26 26
// Check if user uploaded a file
27 27
if(!isset($_FILES['userfile'])) {
28 28
	header("Location: index.php");
29
	exit(0);
29 30
}
30 31

  
31 32
// Setup admin object

Also available in: Unified diff