Revision 19
Added by stefan about 20 years ago
| functions.php | ||
|---|---|---|
| 1 | 1 |
<?php |
| 2 | 2 |
|
| 3 |
// $Id: functions.php,v 1.20 2005/06/23 05:47:22 rdjurovich Exp $
|
|
| 3 |
// $Id$ |
|
| 4 | 4 |
|
| 5 | 5 |
/* |
| 6 | 6 |
|
| ... | ... | |
| 31 | 31 |
*/ |
| 32 | 32 |
|
| 33 | 33 |
// Stop this file from being accessed directly |
| 34 |
if(!defined('WB_PATH')) { exit('Direct access to this file is not allowed'); }
|
|
| 34 |
if(!defined('WB_URL')) {
|
|
| 35 |
header('Location: ../index.php');
|
|
| 36 |
} |
|
| 35 | 37 |
|
| 36 | 38 |
// Define that this file has been loaded |
| 37 | 39 |
define('FUNCTIONS_FILE_LOADED', true);
|
Also available in: Unified diff
Removed direct access path disclosure occurrences.