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:

class.database.php
35 35
// Stop this file from being accessed directly
36 36
if(!defined('WB_URL')) {
37 37
	header('Location: ../index.php');
38
	exit(0);
38 39
}
39 40

  
40 41
if(!defined('DB_URL')) {

Also available in: Unified diff