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:

search.php
23 23

  
24 24
*/
25 25

  
26
if(!defined('WB_URL')) { header('Location: index.php'); }
26
if(!defined('WB_URL')) { 
27
	header('Location: index.php');
28
	exit(0);
29
}
27 30

  
28 31
// Check if search is enabled
29 32
if(SHOW_SEARCH != true) {

Also available in: Unified diff