Revision 1420
Added by Luisehahne almost 15 years ago
| class.database.php | ||
|---|---|---|
| 25 | 25 |
|
| 26 | 26 |
*/ |
| 27 | 27 |
|
| 28 |
// Stop this file from being accessed directly |
|
| 29 |
if(!defined('WB_URL')) {
|
|
| 30 |
header('Location: ../index.php');
|
|
| 31 |
exit(0); |
|
| 32 |
} |
|
| 28 |
// Must include code to stop this file being access directly |
|
| 29 |
if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
|
|
| 33 | 30 |
|
| 34 | 31 |
if(!defined('DB_URL')) {
|
| 35 | 32 |
//define('DB_URL', DB_TYPE.'://'.DB_USERNAME.':'.DB_PASSWORD.'@'.DB_HOST.'/'.DB_NAME);
|
Also available in: Unified diff
YGN Ethical Hacker Group (2.8.2 / 2.9.0)