Revision 286
Added by stefan almost 20 years ago
| class.order.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 | 
    define('ORDERING_CLASS_LOADED', true);
   | 
Also available in: Unified diff
Added an exit call after every heading("Location:...") redirector to prevent unwanted execution of code.