Project

General

Profile

« Previous | Next » 

Revision 820

Added by thorn about 16 years ago

ASP: off per default. CAPTCHA: removed unneeded $admin. Filename: just convert chars like quote, doublequote, < > & to empty string.

View differences:

captcha.php
26 26
// Must include code to stop this file being accessed directly
27 27
if(!defined('WB_PATH')) { exit("Cannot access this file directly"); }
28 28

  
29
if(!isset($admin)) {
30
	require_once(WB_PATH.'/framework/class.wb.php');
31
	$admin = new wb;
32
}
33

  
34 29
// check if module language file exists for the language set by the user (e.g. DE, EN)
35 30
global $MOD_CAPTCHA;
36 31
if(!file_exists(WB_PATH.'/modules/captcha_control/languages/'.LANGUAGE .'.php')) {

Also available in: Unified diff