Project

General

Profile

« Previous | Next » 

Revision 1457

Added by Dietmar almost 13 years ago

Preparing 2.8.2 stable, last tests

View differences:

save_settings.php
17 17
 */
18 18

  
19 19
require('../../config.php');
20

  
20
/*
21 21
// Include WB admin wrapper script
22 22
$update_when_modified = true; // Tells script to update when this page was last updated
23 23
require(WB_PATH.'/modules/admin.php');
......
27 27
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'],ADMIN_URL.'/pages/modify.php?page_id='.$page_id);
28 28
	exit();
29 29
}
30
*/
30 31

  
32
$admin_header = false;
33
// Tells script to update when this page was last updated
34
$update_when_modified = true;
35
// Include WB admin wrapper script
36
require(WB_PATH.'/modules/admin.php');
37

  
38
if (!$admin->checkFTAN())
39
{
40
	$admin->print_header();
41
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], ADMIN_URL.'/pages/modify.php?page_id='.$page_id);
42
}
43
$admin->print_header();
44

  
31 45
// This code removes any <?php tags and adds slashes
32 46
$friendly = array('&lt;', '&gt;', '?php');
33 47
$raw = array('<', '>', '');
34 48

  

Also available in: Unified diff