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:

details.php
29 29
// Get module name
30 30
if(!isset($_POST['file']) OR $_POST['file'] == "") {
31 31
	header("Location: index.php");
32
	exit(0);
32 33
} else {
33 34
	$file = $_POST['file'];
34 35
}
......
36 37
// Check if the module exists
37 38
if(!file_exists(WB_PATH.'/modules/'.$file)) {
38 39
	header("Location: index.php");
40
	exit(0);
39 41
}
40 42

  
41 43
// Print admin header

Also available in: Unified diff