Revision 18
Added by stefan about 20 years ago
| trunk/wb/framework/compatibility.php | ||
|---|---|---|
| 27 | 27 |
This file is purely for ensuring compatibility with 3rd party |
| 28 | 28 |
contributions made for WB version 2.5.2 or below |
| 29 | 29 |
*/ |
| 30 |
if(!defined('WB_URL')) {
|
|
| 31 |
header('Location: ../index.php');
|
|
| 32 |
} |
|
| 30 | 33 |
|
| 31 | 34 |
function page_link($link) {
|
| 32 | 35 |
global $wb; |
| trunk/wb/framework/class.admin.php | ||
|---|---|---|
| 1 | 1 |
<?php |
| 2 | 2 |
|
| 3 |
// $Id: class.admin.php,v 1.13 2005/06/23 01:10:46 rdjurovich Exp $
|
|
| 3 |
// $Id$ |
|
| 4 | 4 |
|
| 5 | 5 |
/* |
| 6 | 6 |
|
| ... | ... | |
| 32 | 32 |
|
| 33 | 33 |
*/ |
| 34 | 34 |
|
| 35 |
if(!defined('WB_URL')) {
|
|
| 36 |
header('Location: ../index.php');
|
|
| 37 |
} |
|
| 35 | 38 |
|
| 36 | 39 |
|
| 37 | 40 |
require_once(WB_PATH.'/framework/class.wb.php'); |
| trunk/wb/framework/initialize.php | ||
|---|---|---|
| 26 | 26 |
/* |
| 27 | 27 |
Initializations common to frontend and backend |
| 28 | 28 |
*/ |
| 29 |
if(!defined('WB_URL')) {
|
|
| 30 |
header('Location: ../index.php');
|
|
| 31 |
} |
|
| 29 | 32 |
|
| 30 | 33 |
// Setup database object |
| 31 | 34 |
require_once(WB_PATH.'/framework/class.database.php'); |
| trunk/wb/framework/class.frontend.php | ||
|---|---|---|
| 29 | 29 |
|
| 30 | 30 |
*/ |
| 31 | 31 |
|
| 32 |
if(!defined('WB_PATH')) {
|
|
| 33 |
header('Location: ../index.php');
|
|
| 34 |
} |
|
| 32 | 35 |
|
| 33 | 36 |
|
| 34 | 37 |
require_once(WB_PATH.'/framework/class.wb.php'); |
Also available in: Unified diff
Added direct access redirection in framework files.