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:

rename2.php
56 56
// Get the temp id
57 57
if(!is_numeric($admin->get_post('id'))) {
58 58
	header("Location: browse.php?dir=$directory");
59
	exit(0);
59 60
} else {
60 61
	$file_id = $admin->get_post('id');
61 62
}

Also available in: Unified diff