Project

General

Profile

« Previous | Next » 

Revision 1357

Added by FrankH almost 14 years ago

Security fixes

View differences:

add.php
21 21
require_once(WB_PATH.'/framework/class.admin.php');
22 22
$admin = new admin('Pages', 'pages_add');
23 23

  
24
if (!$admin->checkFTAN())
25
{
26
	$admin->print_error($MESSAGE['PAGES']['NOT_FOUND']);
27
	exit();
28
}
29

  
24 30
// Include the WB functions file
25 31
require_once(WB_PATH.'/framework/functions.php');
26 32

  

Also available in: Unified diff