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:

uninstall.php
26 26
// Check if user selected template
27 27
if(!isset($_POST['file']) OR $_POST['file'] == "") {
28 28
	header("Location: index.php");
29
	exit(0);
29 30
} else {
30 31
	$file = $_POST['file'];
31 32
}
......
33 34
// Extra protection
34 35
if(trim($file) == '') {
35 36
	header("Location: index.php");
37
	exit(0);
36 38
}
37 39

  
38 40
// Setup admin object

Also available in: Unified diff