Project

General

Profile

« Previous | Next » 

Revision 1457

Added by Dietmar almost 13 years ago

Preparing 2.8.2 stable, last tests

View differences:

details.php
11 11
 * @platform        WebsiteBaker 2.8.x
12 12
 * @requirements    PHP 5.2.2 and higher
13 13
 * @version         $Id$
14
 * @filesource		$HeadURL: http://svn.websitebaker2.org/branches/2.8.x/wb/admin/settings/save.php $
15
 * @lastmodified    $Date: 2011-01-10 13:21:47 +0100 (Mo, 10. Jan 2011) $
14
 * @filesource		$HeadURL$
15
 * @lastmodified    $Date$
16 16
 *
17 17
 */
18 18

  
......
20 20
require('../../config.php');
21 21
require_once(WB_PATH .'/framework/functions.php');
22 22
require_once(WB_PATH.'/framework/class.admin.php');
23
$admin = new admin('Addons', 'templates_view',false);
24

  
23
// suppress to print the header, so no new FTAN will be set
24
$admin = new admin('Addons', 'templates_view', false);
25 25
if( !$admin->checkFTAN() )
26 26
{
27 27
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']);
28
	exit();
29 28
}
30 29

  
31 30
// Get template name
32 31

  

Also available in: Unified diff