Project

General

Profile

« Previous | Next » 

Revision 1420

Added by Dietmar almost 14 years ago

YGN Ethical Hacker Group (2.8.2 / 2.9.0)

View differences:

tool.php
16 16
 *
17 17
*/
18 18

  
19
// direct access prevention
20
defined('WB_PATH') OR die(header('Location: ../index.php'));
19
// Must include code to stop this file being access directly
20
if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
21 21

  
22 22
// check if module language file exists for the language set by the user (e.g. DE, EN)
23 23
if(!file_exists(WB_PATH .'/modules/jsadmin/languages/'.LANGUAGE .'.php')) {

Also available in: Unified diff